How To Enable Mod_Rewrit in VPS?

Status
Not open for further replies.

Dan.Crew

Active Member
520
2010
5
0
As the title says i need help in enabling this module on vps.
My vps is on kloxo/LXadmin, i dont know whether the sites are on lighttpd or apache
Please if anyone can help it would be great.
I need this for vbseo and datalife engine settings as they require this to be enabled.
 
4 comments
try this for apache

  1. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)
  2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound '#' sign from in front of the line)
  3. Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.
but remember to take backup before editing anything
 
8fd38bb7.png



Click switch program..

Change it to the desired.
if it's Apache, mod_rewrite is already enabled imo..
for lighty, you have to edit the lighttpd.conf and have to edit it as given by VBSEO.
 
If your using apache2 you can enable the mod_rewrite module by logging in through SSH and type the command.

Code:
sudo a2enmod rewrite

Restart apache2 so changes take effect

Code:
sudo /etc/init.d/apache2 restart
 
If your using apache2 you can enable the mod_rewrite module by logging in through SSH and type the command.

Code:
sudo a2enmod rewrite
Restart apache2 so changes take effect

Code:
sudo /etc/init.d/apache2 restart


this will work on Debian .. hes using kloxo, which mostly means its CentOS.
 
Status
Not open for further replies.
Back
Top