It's not routes, it's absence of or not enabled mod_rewrite.

http://book.cakephp.org/view/917/Apache-and-mod_rewrite-and-htaccess

On Jul 25, 4:43 pm, parag <[email protected]> wrote:
> I have created a UsersController inside users_controller.php, along
> with User class as a model in user.php.
>
> My Routes config file is
>
>         Router::connect('/', array('controller' => 'users', 'action'
> => 'login'));
>         Router::connect('/pages/*', array('controller' => 'pages', 'action'
> => 'display'));
>
> I created another action named 'login' inside my UsersController
> class.
>
> I try to invoke the URL :http://sitename/users/login, and it gives me
> a 404 Error, not the cake error like controller, or action not found.
>
> What I simply get is a default 404 error of browser, which says Object
> Not Found on Server.
>
> However I get the right page when using just the base url , i.e, only
> uptohttp://sitename/
>
> How could this be? I am using Cake 1.3.
>
> Any help in this regard will be deeply appreciated.
>
> Thanks
> Parag

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

Reply via email to