configured Apache to map site2 to the same location (C:/xampp/htdocs/
site1).
At the moment I configured apache as follows:
AliasMatch ^/site2(.*) C:/xampp/htdocs/site$1
When I go to http://localhost/site2/<controller>/<action> Apache maps
it to site1 and the URL in the browser the URL is still
http://localhost/site2/<controller>/<action>. So far, so good.
The problem is on every page the links generated are as follows:
http://localhost/site1/<controller>/<action> and I want links like
http://localhost/site2/<controller>/<action>.
Is it possible to let Apache generate links http://localhost/site2/<controller>/<action>
on every page? If so, how?
If Apache can't generate links like http://localhost/site2/<controller>/<action>,
how can I let Cake generate links like http://localhost/site2/<controller>/<action>
when I'm 'incoming' from site2 instead of site1?
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment