View Full Version : Error :The requested url /users/view is not found on this server

05-25-2011, 04:48 AM


I have installed the WAMP server in my windows machine .I have downloaded a simple cakephp application called "samplecake" from net and copy that application to c:WAMP/www And try to run the application using http:localhost/samplecake then it shows the login page (in routes.php i have redirected the '/' to users/login).In my controller the afterlogin redirect to /users/view , But after the successful login it will redirect to /users/view

but it shows an error:Not Found

The requested URL /users/view was not found on this server.

I have tried all the actions that are present in user_controller like /users/add, /users/edit but it shows the same error Not Found he requested URL /users/add was not found on this server

How can i solve this Not found url problem if anyone knows please help me thanks in advance.............

05-25-2011, 06:11 AM
Check to make sure you have mod_rewrite installed and enabled. In WAMP, IIRC you can just right-click on the file and there is an Apache Modules option or something like that.