Skip to content

How to Enable Rewrite Module in Apache ?

Last updated on November 25, 2022

The 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/mod_rewrite.so

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

LoadModule rewrite_module modules/mod_rewrite.so

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

3. Then save all the above changes

4. Restart your Apache server

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments