Control Web Panel

WebPanel => Apache => Topic started by: Lynxis on December 16, 2014, 11:09:28 AM

Title: How to install mod_rewrite ?
Post 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)
Title: Re: How to install mod_rewrite ?
Post by: 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.
Title: Re: How to install mod_rewrite ?
Post by: tiagocaus on June 12, 2019, 03:20:43 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?
Title: Re: How to install mod_rewrite ?
Post by: Igor S. on June 23, 2019, 01:20:41 PM
rewrite_module (shared) is OK?

yep, it's okay.
Title: Re: How to install mod_rewrite ?
Post by: changlee on July 10, 2019, 04:09:59 PM
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   
Title: Re: How to install mod_rewrite ?
Post by: changlee on July 23, 2019, 06:42:55 AM
Specifically, I had to add

Code: [Select]
<Directory "/home/trvlaskm/public_html">
AllowOverride All
</Directory>

At WebServers Configuration Editor at usr/local/apache/conf.d/vhosts/