Skip to content
Advertisement

Need to turn off ModPagespeed

I’ve been trying to turn off the ModPagespeed module for this site : http://www.mundo-satelital.com.ar , firstly through .htaccess

<IfModule pagespeed_module>
    ModPagespeed off
</IfModule>

And I also tried ModPagespeedDisallow * in place of ModPagespeed off but no effect.

When I don’t include the IfModule and just have the ModPagespeed off I get a server error, does that mean that ModPagespeed isn’t being detected?

Using this address however does turn off ModPagespeed :

http://www.mundo-satelital.com.ar/?ModPagespeed=off

However I don’t want to have to use this all the time, I guess there’s probably a URL rewrite that could hide this but seems like there should be a simpler way.

I tried logging into the Virtual Admin and using the file explorer to the etc/ folder but there is only a php.ini file there and no httpd.conf. If there’s a way to change it from the VirtualAdmin UI I’d like to try that too, I had a look at the ‘Directives’ section but there’s no mention of ModPageSpeed.

I’d like to know do I need to contact the hosting company to get this changed? Ideally I’d like to change in in .htaccess file but seems to get ignored. Am I overlooking something simple here? Modpagespeed is only turned on or off in server settings, right, it’s not something like a script in the page source?

Advertisement

Answer

How did you install mod_pagespeed? It sounds like it is installed on a different server, otherwise the ModPagespeed off command would work. Or are you using PageSpeed Service? If so, you would have to un-CNAME.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement