0

Hi frnds...

i am trying to know something about Url Rewriting..here i need to load mod_rewrite module...where can i get this..

In this i saw a point as

Open the httpd.conf file and uncomment the following lines (remove the trailing #s):

#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c

...


But in my http.conf file there is no code related to this .

Plz say some thing abt this what u know...which is the best guide to refer...

Thanks...

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by Airshow
0

Ahmksssv,

Unless you have an unusual (or very old) Apache distribution/compilation then mod_rewrite should be included.

In httpd.conf, try adding the indicated LoadModule directive (if it is not already there), otherwise simply uncomment it as you have already read (ie. remove the leading #).

LoadModule rewrite_module modules/mod_rewrite.so

Add it at the point in the file where the other LoadModules are. The order of LoadModule instructions is not important (you will notice that they are generally listed in alphabetical order).

I can't immediately see why AddModule should be required. I run with rewrite_module and there are no AddModule directives in httpd.conf (just LoadModule).

Airshow

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.