Full Stack LAMP - MEAN Developer, Python developer. Certified Azure Developer. Freelance programmer/consultant/trainer.

How to Enable Rewrite Module in Apache ?

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

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments