cPanel Proxy Issue

The proxy system is a great idea and all but I noticed it just takes on whatever settings Apache has. cPanel offers mod_security which I assume a lot of people are using and the proxy will take on the rules. This will break almost all the pages of cpanel with even modest rulesets.

I see no reason to not turn mod_security off for the proxy vhost considering mod_security does not run against the real cpanel. So how about adding this to the vhost:

<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

I believe that'll solve any issues with mod_security messing up the proxy. I could put this in the bugzilla, but not many people read it. At least on the forums other people might notice it and ask for this to be fixed. Or at least others with issues with errors when users use the proxy cpanel will know how to resolve the issue.

Any update for this issue?
And also is it possible to force connecting through SSL (to redirect the proxy domains to a secure connection) ?

Susan,

Click to expand...

You can set cPanel/WHM SSL connections to be SSL only in Tweak Settings in WHM. For the proxy subdomains, I presume with a shared SSL certificate with Apache and a few mod_rewrite rules you could easily redirect http traffic to https, although you probably would get a certificate error in your browser.