|
|||
|
When using the controller, we usually type: http://mysite.
That activates Index Controller and Index Action. And when we type: http://mysite/index/Find That activates Index Controller and Find Action. When we type an Action which is not declared in the controller, Zend will throw an exception. And we usually use __call function to handle it. So, when we type; http://mysite/index/Bogus, it's automatically redirected to some error page. My problem: When I type: http://mysite/Bogus, I got an exception. My question: Anyone can help me how to handle it? Thanks! |
|
||||
|
Hello,
Check this tutorials: 404 error with Zend Framework Front Controller « View Tutorial* HowTo: Handle non-existence controllers/actions with Zend Framework (recovered) « View Tutorial* Managing 404 errors in the Zend Framework « View Tutorial* Zend Framework: Router for subdirectory-based site « View Tutorial* Hope it helps.
__________________
Zend Framework Tutorials | Zend Framework Forums | Zend Framework IRC Channel | | Zend Framework Resources | CoreShifter | Microsoft Forums | Microsoft Links | Microsoft Books |
![]() |
| Thread Tools | |
| Display Modes | |
|
|