We used to have our cake app running in a subdir off our public_html
called "foo". SO all cake paths were
http://mysite.com/foo/controller/action/....

We moved the app to the root sirectory and restructured the site to
let everything else hang from the cake app's webroot. As a result we
have some users with old links that will 404 - one of these users is a
payment gateway that has been missing us (oops).

I put in a route for the payment gateway routine specifically:
Router::connect('/foo/user/paid', array('controller' => 'user',
'action' => 'paid'));

How can I make that route or another generall route all the old
requests to our site with foo in the path work properly? IE translate:
http://mysite.com/foo/controller/action/p1/p2/....

into
http://mysite.com/controller/action/p1/p2/....

For any controller with any number of arguments?

Thanks in advance!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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