Enable Mod Rewrite in WAMP on Windows

As I have to keep looking this up periodically, I’m making notes for this here. The most straightforward write-up I’ve seen on this of late can be found here.

How to enable mod rewrite in WAMP

  • Click on the WAMP control panel, usually in the task bar, and go to Apache – httpd.conf
  • Uncomment the line: LoadModule rewrite_module modules/mod_rewrite.so
  • Find the bit that looks like:

    <Directory>

    </Directory>

    Change the settings to:
    <Directory>

    Options All

    AllowOverride All

    </Directory>

  • Restart Apache
Advertisements
Posted in Php

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: