XAMPP mod_rewrite , clean Url .htaccessPosted: June 9, 2009
Today every sites requirement is to have a user friendly URLs which can be archived by .htaccess and apache. Since I’m running PHP I used XAMPP . A default Xampp installation is lacking the mod_rewrite functionality. So to make the mod_rewrite module working, we need to do some tweak in Apache’s httpd.conf file.
Since by default mod_rewrite module is not enabled by default so I did the following steps.
To enable mod_rewrite in xampp first go to the directory of installation \apache\conf and edit httpd.conf. Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
uncomment this(just remove #, should be):
LoadModule rewrite_module modules/mod_rewrite.so
Also find AllowOverride None
I really think it appears 2 or 3 times on the configuration file.
This setting is also required to get the clean_url module to function in drupal.
now restart the server and you are done.