How to Enable mod_rewrite module in Apache in xampp.

Sep 26, 2013, by admin

Hi all now we are going to see How to Enable mod_rewrite module in Apache in xampp. the steps are given below

1) Find the “httpd.conf” file under the “conf” folder inside the Apache’s installation folder.
e.g. D:xamppapacheconfhttpd.conf

2) Find the following line in httpd.conf file.

“#LoadModule rewrite_module modules/mod_rewrite.so”
You can do this easily by searching the keyword “mod_rewrite”.

3) Remove the “#” at the starting of the line, “#” represents that line is commented (module is disabled).

4) Now restart the Apache server.

5) You can see now “mod_rewrite” will show under the Loaded Module section, if you run “phpinfo()” file.