Enable mod_rewrite in windows, WAMP, XAMPP

Wamp and XAMPP doesn’t come with default rewrite rule enabled, For enabling the rewrite rules in both of them you need to make changes in httpd.conf so that apache can work with rewrite rules.

For enabling the rewrite rules follow these rules:

1) Find httpd.conf (\wamp\bin\apache\Apache2.2.11\conf something along those lines
2) Uncomment the line LoadModule rewrite_module modules/mod_rewrite.so
3) Find the line with DocumentRoot “C:/path/to/my/root”, There you will find contents like
<Directory>
</Directory>

Make sure the content inside these two braces looks like

<Directory>
Options All
AllowOverride All
</Directory>

4) Restart the Apache server and you should be good to go.

Share
This entry was posted in Joomla, wamp server, Website Hosting and tagged , , . Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free