cant enable mod_rewrite
Moderator: General Moderators
-
learnerabn
- Forum Commoner
- Posts: 48
- Joined: Wed Feb 10, 2010 12:56 am
cant enable mod_rewrite
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?
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?
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: cant enable mod_rewrite
And you restarted Apache?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?
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
first thank u for replying me
yes i restarted apache.
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
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
i am in windows.
log files means apache error log file?
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
Yup. Ifyour using Windows just download WAMPServer (Google it) enabling a module is as easy as clicking on the system tray icon:
Cheers,
Alex
Code: Select all
Apache > Apache Modules > rewrite moduleAlex
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: cant enable mod_rewrite
On Windows it would be mod_rewrite.dll, so find mod_rewrite.dll and you would add a line such as this into httpd.conflearnerabn wrote:i am in windows.
log files means apache error log file?
Code: Select all
LoadModule rewrite_module c:/path/to/this/module/mod_rewrite.dllmysql_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
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.