Closed GoogleCodeExporter closed 9 years ago
ModPagespeedLoadFromFileMatch is trying to match against the "rewritten"
domain, computed from:
The domain of the HTML file
The domain of the URL in the <img> reference
Any ModPagespeedMapRewriteDomain directives
If that fails, then mod_pagespeed attempts to fetch the file via HTTP, and only
at that point does it map to 127.0.0.1 for loopback fetches.
Hope this helps!
-Josh
Original comment by jmara...@google.com
on 2 Feb 2013 at 2:13
Not much help - the actual URL of the image is:
http://www.sellmyretro.com/uploaded/img/1693_100_0569-qpr_100px.jpg
Ie, with the domain name this is present, so I don't know why ModPagespeed is
trying to access it using http://127.0.0.1/ and then failing - it should be
using the directive:
ModPagespeedLoadFromFileMatch
"^https?://(?:www.)?sellmyretro\.com/.*uploaded/img/"
"/var/www/html/uploaded/img/"
and loading it from file anyway...
Original comment by rwap.services
on 4 Feb 2013 at 9:18
Original comment by sligocki@google.com
on 29 Oct 2014 at 7:47
Original issue reported on code.google.com by
rwap.services
on 2 Feb 2013 at 9:29