Hi,
In my app I have several controllers.
I wanted to create a friendly url for each registered user so I added
this line to the routes.php
Router::connect('/*', array('controller' => 'msgs', 'action' =>
'getMsg'));

before that I added a route line for each existing controller so that
the /* will not override them.

I have uploaded my app to my hosting server and encountered a problem.
phpmyadmin is hosted there like so:
http://www.example.com/phpmyadmin/
when I try to access it cake "thinks" its a username and routes it to
'msgs' controller.
I have tried to add something like that:
Router::connect('/phpmyadmin', null);
to the routes.php but it didn't help.

How do I get around it.
editing the .htaccess is possible but I'm really lost there.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to