Define the default controller or exclude something from the url zend framework

advertisements

I red all things I was able to find about Zend_Controller_Router_Route but I wasn't able to find how can is set default controller or exclude something from the url, for example:

www.example.com/test/controler/action

how can I ignore "test"?

Now I always get "test" as default controller..

Thanks, Ventsislav Angelov


this can be done in the .htaccess of the /public subdir.

add another RewriteCond like this:

RewriteCond %{REQUEST_URI} !^/test* [OR]

this should solve it.