Hi
Router.php
Router::connect('/', array('controller' => 'posts', 'action' =>
'index'));
Router::connect('/posts/view/*', array('controller' => 'posts',
'action' => 'view'));
I am able to open url http://localhost/cakephp wherein cakephp is my
root directory. This is opening fine according to the first
Router::Connect(...) as shown above. For the second Router::Connect
(...) when i hit
http://localhost/cakephp/posts/view/1 on my browser it does not opens
up and shows error
The requested URL /cakephp/posts/view/1 was not found on this server
Kindly help me as i am stuck up with this long.
Thank You
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