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

LoadFromFile should convert %20 to space in URLs #332

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

LoadFromFile should convert %20 to space in URLs #332

GoogleCodeExporter opened this issue Apr 6, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

From Hans van Eijsden:

When I enable ModPagespeedLoadFromFile, I get a lot of errors in my Apache 
error log.

My config rule: ModPagespeedLoadFromFile "http://www.weblogzwolle.nl/images/" 
"/home/weblogzwolle/www/images/"

I discovered, that the problematic URL's are the URL's with spaces in them or 
%20's. Although they exist for Apache and the browsers, they don't, of course, 
seem to exist for the file system.
Is there a way, to let mod_pagespeed rewrite %20's back to spaces, when reading 
directly from the file system via ModPagespeedLoadFromFile?
Unfortunately, I had to disable ModPagespeedLoadFromFile completely for now.

Thanks!

Here is a part of my Apache error log:

[Sat Aug 06 02:07:29 2011] [error] [mod_pagespeed 0.9.18.6-886 @12924] 
/home/weblogzwolle/www/images/stories/Brandweer/Tak%204.jpg:0: open input file 
(code=2 No such file or directory)
[Sat Aug 06 02:07:29 2011] [error] [mod_pagespeed 0.9.18.6-886 @12924] 
/home/weblogzwolle/www/images/stories/Brandweer/Tak%202.jpg:0: open input file 
(code=2 No such file or directory)

Original issue reported on code.google.com by sligocki@google.com on 8 Aug 2011 at 6:21

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

1 participant