Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

How to enable mod_rewrite module in apache installed in windows environment

May 16, 2012 by Alpha2
Hi again,

I checked my server and my  mod_rewrite module in apache is not installed, how can I install it and enable it?

thanks in advanced

1 Answer

0 votes
May 16, 2012 by expert

to enable mod_rewrite module in apache do the following;

1.Find the “httpd.conf” file under the “conf” folder inside the Apache’s installation folder.
2.Find the following line “#LoadModule rewrite_module modules/mod_rewrite.so” in the “httpd.conf” file.You can do this easily by searching the keyword “mod_rewrite” from find menu.
3.Remove the “#” at the starting of the line, “#” represents that line is commented.
4.restart the apache server.