Monday, September 26, 2011

URL Rewritting / Configuration of RC 2.0.0 RC2

What I did

Hi

I am new to CakePHP and just installed 2.0.0 RC2 version. I finished all the settings according to 1.3.12 notes (as 2.0.0 installtion notes are not available) and as per cakePHP page I was able to remove all errors including URL Rewritting.

BUT

when I tried it as beginner, I have created a simple application and tried to run it I was having some URL issues... may be someone can help me.

According to instructions in tutorial I should see my application page at following link:
http://localhost/users/register

BUT I am getting 404 error on above link, however I can see the desired page at -
http://localhost/cake/users/register

Now whenever I click submit button on form the application looks for the first URL and I get the following error:
The requested URL /users/register was not found on this server.

Now I am not sure what I missed. I checked my URL re-writing settings many times, at least three times, but still cannot figure out this problem.

Please advice.

What happened

According to instructions in tutorial I should see my application page at following link:
http://localhost/users/register

BUT I am getting 404 error on above link, however I can see the desired page at -
http://localhost/cake/users/register

What I expected to happen

According to instructions in tutorial I should see my application page at following link:
http://localhost/users/register

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: