Control Web Panel
WebPanel => Apache => Topic started by: Lynxis on December 16, 2014, 11:09:28 AM
-
Hi @ all,
Can anyone tell me please how can i install mod_rewrite on Web panel ?
Thank you.
8)
-
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.
-
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?
-
rewrite_module (shared) is OK?
yep, it's okay.
-
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
-
Specifically, I had to add
<Directory "/home/trvlaskm/public_html">
AllowOverride All
</Directory>
At WebServers Configuration Editor at usr/local/apache/conf.d/vhosts/