Cakephp
Posted: Fri May 22, 2009 2:06 am
I am having problem in configuring the .htaccess file for my cakephp project.
When i am using simple php the RewriteRule is working absolutely fine. But its causing problems in cake framework..
What i want to do is to hide the name of the controller.
e.g
Actual URL:
http://localhost/myproject/users/profile
what i want is:
http://localhost/myproject/profile
The RewriteRule i am using is:
RewriteRule /profile /users/profile
Note: the .htaccess file is in the project folder.... This rule is working fine without the cake framework.
Please help. Need this solutions real bad and fast..
Thanks.
When i am using simple php the RewriteRule is working absolutely fine. But its causing problems in cake framework..
What i want to do is to hide the name of the controller.
e.g
Actual URL:
http://localhost/myproject/users/profile
what i want is:
http://localhost/myproject/profile
The RewriteRule i am using is:
RewriteRule /profile /users/profile
Note: the .htaccess file is in the project folder.... This rule is working fine without the cake framework.
Please help. Need this solutions real bad and fast..
Thanks.