Saturday, January 16, 2010

Page 404 not found

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate