How to install mod_rewrite ?

Started by Lynxis, December 16, 2014, 11:09:28 AM

Previous topic - Next topic

Lynxis

Hi @ all,

Can anyone tell me please how can i install mod_rewrite on Web panel ?

Thank you.

8)

Administrator

by default its already installed, you can check it by using a command

/usr/local/apache/bin/httpd -M|grep rewrite

and if you get output like "rewrite_module (static)" then you have it installed.

tiagocaus

Quote from: Administrator on December 25, 2014, 03:21:52 PM
by default its already installed, you can check it by using a command

/usr/local/apache/bin/httpd -M|grep rewrite

and if you get output like "rewrite_module (static)" then you have it installed.

rewrite_module (shared) is OK?

Igor S.




You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

changlee

No it is not OK. I have upgraded to CWP Pro, and mod_rewrite does not work for individual accounts.

I had to set up it at WebServers Configuration Editor and for EACH user at /usr/local/apache/conf.d/vhosts/MYDOMAIN.COM.conf   
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com

changlee

Specifically, I had to add

<Directory "/home/trvlaskm/public_html">
AllowOverride All
</Directory>


At WebServers Configuration Editor at usr/local/apache/conf.d/vhosts/
You may use our FREE SMTP Newsletter APP at https://www.emailbat.com