New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModPagespeedMapProxyDomain does not proxy non-optimized resources #609

Closed
GoogleCodeExporter opened this Issue Apr 6, 2015 · 6 comments

Comments

Projects
None yet
2 participants
@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Apr 6, 2015

I set up the following rewrite option:

ModPagespeedMapProxyDomain http://mydomain.com/subpath/ 
http://otherdomaintoproxy.com/

This mostly worked however I found that certain file types such as woff and ttf 
(fonts) were moved to the proxy domain but did not get rewritten, so did not 
have .pagespeed. in the URL and thus were not picked up by the mod_pagespeed 
handler. This caused them to get routed to the default Apache handler which 
looked for them on disk and caused them to 404.

I chatted with Josh about this and he mentioned that the MPS handler may need 
to look for .pagespeed. as well as all of the ModPagespeedMapProxyDomain path 
prefixes (/subpath/ in my case).

Original issue reported on code.google.com by bmcqu...@google.com on 22 Jan 2013 at 8:57

@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

Original comment by jkar...@google.com on 23 Jan 2013 at 12:28

@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

Bryan can you just paste the fragment of CSS file with the woff/ttf fonts to 
the bug?

Then I'll take a look.
Thanks!

Original comment by jmara...@google.com on 24 Jan 2013 at 9:57

  • Changed state: RequestClarification
@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

This should be fixed by 
https://code.google.com/p/modpagespeed/source/detail?r=2577

Original comment by jmara...@google.com on 7 Mar 2013 at 8:02

  • Changed state: Fixed
@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

Original comment by jmara...@google.com on 7 Mar 2013 at 8:04

  • Added labels: Milestone-v26, release-note
@GoogleCodeExporter

This comment has been minimized.

Copy link

GoogleCodeExporter commented Apr 6, 2015

Original comment by jkar...@google.com on 2 Apr 2013 at 3:24

  • Changed title: ModPagespeedMapProxyDomain does not proxy non-optimized resources
@Besselink

This comment has been minimized.

Copy link

Besselink commented Oct 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment