How to enable mod_rewrite module in apache installed in windows environment

asked May 16, 2012 in General by Alpha2 (880 points)
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 like 0 dislike
answered May 16, 2012 by expert (14,380 points)

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/” 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.