I would like to intentionally cause a 404 error within one of the controllers in my Zend Framework application. How can I do this?
相关问题
- Zend Auth locked session
- Wordpress change all 404 to 410 error code
- Zend/PHP: Problem uploading/downloading file to/fr
- PHP Zend Framework - Zend_Config and global state
- 'Zend_Db_Statement_Exception' with message
相关文章
- Zurb Foundation 5, modernizr not found
- Possible disadvantages of Zend [closed]
- hapi.js - 404 route VS static files route
- Zend Framework Modules with common resources
- Zend Form Validator Callback: How to exclude a use
- Exception while setting up the wurfl in zend
- Pylons - Changing the regular 404 Not Found page t
- Status Code Exception (com.google.gwt.user.client.
You can always set the response code manually, without throwing any exceptions.
A redirect to a 404 would be:
Or without Exception: