Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

ModPagespeedMapProxyDomain does not proxy non-optimized resources #609

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

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Added labels: Milestone-v26, release-note

@GoogleCodeExporter
Copy link
Author

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

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

@Besselink
Copy link

Some News?

Have same problem with ressource https://gw1.api.trustedshops.com/rest/internal/v2/shops/X3DE32B11AEA027834CE76957FC6775F9/reviews.json?betterThan=3.5

My directive is ModPagespeedMapProxyDomain https://www.example.com/ps https://gw1.api.trustedshops.com/rest/internal/v2/shops/X3DE32B11AEA027834CE76957FC6775F9

But it won't compress (deflate,gzip) by pagespeed modul.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants