Tuesday, December 2, 2008

Routing strangeness - possible bug??

Hi all,

my routes.php file is empty and .htaccess is untouched

if I access my controller like this:

example.com/controller/action

everything works as expected.

However if I access

example.com/any_random_string/controller/action

it also gets routed to example.com/controller/action??

Then if I clear app\tmp\cache\persistent and try to access example.com/
any_random_string/controller/action
i get the usual missing controller
error.

Is this behaviour normal or could this be a bug?

Any ideas wrt how to hunt this problem down will be appreciated.

Thanks,
Eli

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: