Page 1 of 1
cant enable mod_rewrite
Posted: Wed Feb 10, 2010 7:15 am
by learnerabn
hi
how to enable mod_rewrite module in apache?
i uncommented the LoadModule rewrite_module modules/mod_rewrite.so line in my httpd.conf file.but it is not working....
can any one help me?
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 8:58 am
by AbraCadaver
learnerabn wrote:hi
how to enable mod_rewrite module in apache?
i uncommented the LoadModule rewrite_module modules/mod_rewrite.so line in my httpd.conf file.but it is not working....
can any one help me?
And you restarted Apache?
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 10:54 am
by learnerabn
first thank u for replying me
yes i restarted apache.
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 11:10 am
by alex.barylski
Look at your log files, what do they say??? Are you Windows or Linux? Have you made sure the .so or .dll file exists in the correct location?
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 3:20 pm
by learnerabn
i am in windows.
log files means apache error log file?
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 3:48 pm
by alex.barylski
Yup. Ifyour using Windows just download WAMPServer (Google it) enabling a module is as easy as clicking on the system tray icon:
Code: Select all
Apache > Apache Modules > rewrite module
Cheers,
Alex
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 4:39 pm
by AbraCadaver
learnerabn wrote:i am in windows.
log files means apache error log file?
On Windows it would be mod_rewrite.dll, so find mod_rewrite.dll and you would add a line such as this into httpd.conf
Code: Select all
LoadModule rewrite_module c:/path/to/this/module/mod_rewrite.dll
Re: cant enable mod_rewrite
Posted: Wed Feb 10, 2010 11:33 pm
by learnerabn
ya i got it... i already have wampserver i just enabled it through apache modules as PCSpectra told.thank you both of u for responding me.