Posted by Arjun on Sunday 19th February 2012

How to Enable Rewrite Module in Apache ?

Apache Rewrite Module How to Rewrite Module

Rewrite module is not enabled by default in Apache’s configuration settings. although you can enable it manually by doing very few simple steps:

1. open your httpd.conf(Located in Apache installation) file with your favorite editor.Then search for blow line

#LoadModule rewrite_module modules/

Replace above line with this line or simply remove ‘#’.

LoadModule rewrite_module modules/

2.Now find this string Allow Override None and replace with Allow Override All

3.Then save all above changes

4.Restart your Apache server