How to enable rewrite module in XAMPP, WAMP and Apache ?

How to enable rewrite module in XAMPP, WAMP and Apache ?

In this post we will give you information about How to enable rewrite module in XAMPP, WAMP and Apache ?. Hear we will give you detail about How to enable rewrite module in XAMPP, WAMP and Apache ?And how to use it also give you demo for it if it is necessary.

In most of case, you may face a common issue that rewrite module (mod_rewrite) does not work properly..

You are getting this error because of it is not enabled by default in setting of Apache’s configuration.

You can solve this by enable it manually with simple steps.

  1. You need to simple open your apache’s configuration file that is generally located in {path of apache directory}/conf/httpd.conf.
  2. Find the string “#LoadModule rewrite_module modules/mod_rewrite” in httpd.conf file. Remove # sign to uncomment it because # sign indicate that this is comment part.

    #LoadModule rewrite_module modules/mod_rewrite.so 
    To
    LoadModule rewrite_module modules/mod_rewrite.so 
    

  3. Now find other string AllowOverride None and change it with AllowOverride ALL.
  4. Now save the changes what you have done and restart your server.

httpd.conf is usually known as main configuration file of Apache and it contains one directive per line. Again i here let you know the lines that start with hash # character are considered comments.

Label :

PHP

How To

Apache

Hope this code and post will helped you for implement How to enable rewrite module in XAMPP, WAMP and Apache ?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

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

  +  89  =  92

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US