<VirtualHost 111.222.333.444:80>
ServerName www.example.com
<IfModule pagespeed_module>
ModPagespeed On
ModPagespeedMapProxyDomain www.example.com origin.example.com
</IfModule>
</VirtualHost>The request is logged to the global access_log, but there are no messages in error_log (does MPS have its own error log?). I am able to access http://www.example.com/pagespeed_global_admin but there is no indication there of errors.
If I remove the ModPagespeed* config and set up the vhost as a proxy using ProxyPassReverse / http://origin.example.com/, the site loads fine. However, of course, pagespeed doesn't take effect.
Can you see what I've done wrong? What is the recommended way to setup a pagespeed reverse proxy?
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/a5c7b2be-387b-4107-bc3b-974b8f9174b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<VirtualHost 111.222.333.444:80>
ServerName www.example.com
<IfModule pagespeed_module>
ModPagespeed On
ModPagespeedMapProxyDomain www.example.com origin.example.com
</IfModule>
ProxyPass / http://origin.example.com/
ProxyPassReverse / http://origin.example.com/
</VirtualHost>ModPagespeedMapProxyDomain www.example.com origin.example.comTo try getting the URLs rewritten, I've tried adding:ModPagespeedMapProxyDomain www.example.com origin.example.comand:Both result in "403 Forbidden" errors (although nothing in apache's error_log?).
ModPagespeedMapProxyDomain origin.example.com www.example.com--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/bec19a29-5f8b-4ecd-9e1a-8cedefa5432b%40googlegroups.com.
It's also not rewriting included CSS URLs:
And as mentioned before also not anchors:
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/20150804233617832212.649b83ff%40strangecode.com.