Kurinchi Blogger Scribbles …


Jun 02
2009

CakePHP: To Check if Mod_rewrite is Disabled

Last updated: June 4th, 2009

How to check if mod_rewrite is disabled in Apache when CakePHP is installed?
Initially when CakePHP is downloaded from sourceforge and is installed in your localhost, you can test if it is working or not by going to the respective directory in your local host http://localhost/cake.

If CSS styling is missing in the display page, then check apache server’s httpd.conf file to see if mod_rewrite module is enabled. Remove the comment symbol to enable mod_rewrite in your localhost and restart Apache server for the change to take effect

LoadModule rewrite_module modules/mod_rewrite.so

Now reload the page to check if the page loads as expected i.e. css styles applied to the page

If you see a good looking css styled page, then mod_rewrite is enabled in your system and you can go ahead in configuring your database settings and other routing parameters as needed.

Tags: , , , ,

Leave a Reply


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict