In This tutorial, I will describe how to enabled and disabled mode rewrite module into your
wamp/xampp. The mod_rewrite is an Apache web server module that is used to rewrite a URL at the server level.
mod_rewrite module normally uses a rule-based rewriting engine to rewrite requested URLs based on PCRE regular-expression parser, By default mod_rewrite maps a URL to a filesystem path. It allow you to rewrite URL based on server variables, environment variables, HTTP headers, or time stamps.
How to Enable/Disable apache mod_rewrite
This module main use for make URLs search engine friendly.A rewrite rule can be enabled through in httpd.conf or in
There are following process will follow to enable
.htaccess mod_rewrite in wamp/xampp
Step 1: Go to the directory of xamp/wamp installation :
Step 2: Open
httpd.conf in a text editor.
Step 3: Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
Step 4: Removed (#) from start of line to make module enable.
Step 5: Now Change all occurrences of
and replace to
Step 6: Now restart wamp/xampp server.
I hope its help you.