Published on July 26th, 2016 | by James0
How to Enable / Disable XAMPP mod_rewrite
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
and change to
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.