after reading some of the posts i'm a bit confused about routes
on my local machine I have
localhost/app/pub/action1
localhost/app/pub/action2 etc..
I want my links to be like echo $html->link('go here','/action1') to
go to /pub/action1 etc..
I want this to work the same on local and live server. Is this what
routes are for or should I use mod rewrite?
I tried $Route->connect ('/*', array('controller'=>'pub',
'action'=>'display'));
Much appreciated, Simon.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---