If you are facing url rewriting problem in cakephp even though you have enabled rewrite module.....Here is the solution....
- Just go to the httpd.conf file.
- Find the following text groups
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
and
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None.
- Replace 'AllowOverride None' with 'AllowOverride All' on both places.
- Save file and Restart Apache
Refresh Page and the problem is resolved. :)
- Just go to the httpd.conf file.
- Find the following text groups
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
and
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride None.
- Replace 'AllowOverride None' with 'AllowOverride All' on both places.
- Save file and Restart Apache
Refresh Page and the problem is resolved. :)
Comments
Post a Comment
Thanks for your valuable comments.