apache / incubator-pagespeed-cpanel

mod_pagespeed module for CPanel WHM
Other
144 stars 50 forks source link

Enabling on Per-Account Basis #20

Open Zensin opened 9 years ago

Zensin commented 9 years ago

Looking at the documentation I see that there is no integration for enabling this mod on a per-site basis which is very important because it might not work or work well with some sites. In this demo I see it as an option for the user but have no idea how this was accomplished: http://162.251.80.26:2082/cpsess7656484458/frontend/x3/index.html?post_login=47712872525151

brianjking commented 9 years ago

I'm interested in hearing the answer to this as normally I believe the httpd.conf file is edited; however, the EasyApache process doesn't like it to be edited manually.

Prajithp commented 9 years ago

You can set ModPagespeed off in an .htaccess file. This will disable all rewiting of HTML in that directory but it will not stop mod_pagespeed from rewriting images, CSS and JS in that directory.

Regarding the plugin, seems they wrote it themselves. in-house.

scysys commented 9 years ago

You can easily set "ModPagespeed off" in pagespeed.conf an then activate mod pagespeed per site basis on .htaccess with "ModPagespeed on"

JonTheWong commented 9 years ago
ModPagespeed off

Regards,

Jon Wong

1-514-316-1366 1-647-848-1366 1-855-ZENITH0 Extension: 1337

On Jan 19, 2015, at 8:02 AM, scysys notifications@github.com wrote:

You can easily set "ModPagespeed off" in pagespeed.conf an then activate mod pagespeed per site basis on .htaccess with "ModPagespeed on"

— Reply to this email directly or view it on GitHub.