XAMPP..." /> How to Enable / Disable XAMPP mod_rewrite | TechCalibrator

Tutorials How to Enable / Disable XAMPP mod_rewrite

Published on July 26th, 2016 | by James

0

How to Enable / Disable XAMPP mod_rewrite

For any reason if you need to disable/enable XAMPP mod_rewrite (Enabled by default) , then below are the instructions on how to enable .htaccess mod_rewrite in XAMPP.

1. Go to the directory of installation C:\xampp\apache\conf (default) or your installation directory:\xampp\apache\conf

2. Open and edit httpd.conf in a text editor

3. To  disable find the line which contains

LoadModule rewrite_module modules/mod_rewrite.so

and (comment) change to

#LoadModule rewrite_module modules/mod_rewrite.so

4. Find all occurrences of

AllowOverride All

and change to

AllowOverride None

I think it appears 2 or 3 times on the configuration file.

5. Restart xampp

That’s it , Now mod_rewrite is disabled. To enable it just follow the instruction in reverse order.

Tags: ,


About the Author

is a full time Web Developer & App Developer. He enjoys to make modern websites. He loves technologies and writes about these. Now he's working with a software developing firm. He would like to help people around the world acquiring knowledge through his writing.



Leave a Reply

Your email address will not be published. Required fields are marked *

Back to Top ↑