incubator-pagespeed-cpanel icon indicating copy to clipboard operation
incubator-pagespeed-cpanel copied to clipboard

Enabling on Per-Account Basis

Open Zensin opened this issue 9 years ago • 4 comments

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

Zensin avatar Jan 05 '15 00:01 Zensin

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.

brianjking avatar Jan 06 '15 01:01 brianjking

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.

Prajithp avatar Jan 06 '15 04:01 Prajithp

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

scysys avatar Jan 19 '15 13:01 scysys

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 [email protected] 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.

JonTheWong avatar Jan 19 '15 15:01 JonTheWong