Thread: No Route Action
View Single Post
  #1 (permalink)  
Old 04-05-2007, 02:39 AM
Tommy1402 Tommy1402 is offline
Junior Member
 
Join Date: Feb 2007
Posts: 26
Default No Route Action

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!
Reply With Quote