Hello pals,
I can't really figure out one thing about Routes..
My url is something like localhost/acme/mycontroller/myaction.. my question
is how can I remap the previous url in something like
localhost/mycontroller/myaction using route?
I ve added the following line in routes.php
Router::connect('/:alias/:controller/:action',
array(),
array(
'alias', '[a-zA-z0-9]+')
);
but it dosen't seem really work..
thanks in advance
--
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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