What does your code look like? If, for example, you are using the RewriteRouter, you could do something like this:
$router->addRoute('catchall', new Zend_Controller_Router_Route('/*', array('controller'=>'index', 'action'=>'error'), array()); $router->addRoute('home', new Zend_Controller_Router_Route('/', array('controller'=>'index', 'action'=>'index'), array()); And I think that would work. (Don't have time to test it at work) Lee On 12/21/06, Andrew Yager <[EMAIL PROTECTED]> wrote:
Hi, I'm sure there is a simple answer to this question, I just can't seem to find it at the moment. I'm trying to get the __call/not found action of 0.6 working properly. Essentially, I want the following behaviour: When a user browses to http://<siteurl>/ they see the index page Any other page throws a 404 not found. I have it so that http://<siteurl>/<anything> will throw (quite simple), but if i browse to http://<siteurl>/<anything>/<anything> I get taken to the indexAction of the indexController. Is there a simple way to modify this behavior so it behaves like I am expecting? Thanks, Andrew _________________________ Andrew Yager, Managing Director Real World Technology Solutions ph: 1300 798 718 or (02) 9563 4840 fax: (02) 9563 4848 mob: 0405 152 568 http://www.rwts.com.au / _________________________