cant enable mod_rewrite

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
learnerabn
Forum Commoner
Posts: 48
Joined: Wed Feb 10, 2010 12:56 am

cant enable mod_rewrite

Post 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?
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: cant enable mod_rewrite

Post 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?
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
learnerabn
Forum Commoner
Posts: 48
Joined: Wed Feb 10, 2010 12:56 am

Re: cant enable mod_rewrite

Post by learnerabn »

first thank u for replying me
yes i restarted apache.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: cant enable mod_rewrite

Post 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?
learnerabn
Forum Commoner
Posts: 48
Joined: Wed Feb 10, 2010 12:56 am

Re: cant enable mod_rewrite

Post by learnerabn »

i am in windows.
log files means apache error log file?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: cant enable mod_rewrite

Post 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
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: cant enable mod_rewrite

Post 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
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
learnerabn
Forum Commoner
Posts: 48
Joined: Wed Feb 10, 2010 12:56 am

Re: cant enable mod_rewrite

Post 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.
Post Reply