crowell / modpagespeed_tmp

Automatically exported from code.google.com/p/modpagespeed
Apache License 2.0
0 stars 0 forks source link

ModPagespeedMapProxyDomain does not proxy non-optimized resources #609

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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