Issue 1030 in modpagespeed: infinite 301 loop on images

2 views
Skip to first unread message

modpag...@googlecode.com

unread,
Dec 9, 2014, 11:38:27 AM12/9/14
to mod-pagesp...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1030 by bsouff...@gmail.com: infinite 301 loop on images
https://code.google.com/p/modpagespeed/issues/detail?id=1030

What steps will reproduce the problem?

1. Enable mod_pagespeed with the default configuration
2. Load a web page with inline images
3. A few images do not display (inline and background css)
-> When looking at the page with firebug, the inline images have the
pagespeed modified src (for example
myimage.jpg.pagespeed.ce.xo4He3_gYf.jpg). However the network tab of
firebug show that the images do not load. There is an infinite 301 redirect
loop.
-> Because of this the images never display on the web page.
-> Not all the images are broken


mod_pagespeed 13
Ubuntu 14.04LTS
Apache 2.4.7
MPM prefork

URL of broken page:
pagespeed module is curently disabled to prevent the bug to be online on
our website.

Specific apache configuration:

RewriteEngine on
#LogLevel alert rewrite:trace6
#force https cloudflare flexible
RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"' [OR]
# force www
RewriteCond %{HTTP_HOST} !^www.mydomain.com$
RewriteRule (.*) https://www.mydomain.com$1 [R=301,L]

AliasMatch ^/images/(.*)?$ "/var/www/mydomain/www/images/$1"
AliasMatch ^(/.*)?$ "/var/www/mydomain/www/index.php$1"

<Directory "/var/www/vintagereport">
AllowOverride None
Require all granted
</directory>



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

modpag...@googlecode.com

unread,
Dec 9, 2014, 11:41:47 AM12/9/14
to mod-pagesp...@googlegroups.com

Comment #1 on issue 1030 by bsouff...@gmail.com: infinite 301 loop on images
https://code.google.com/p/modpagespeed/issues/detail?id=1030

Please replace <Directory "/var/www/vintagereport"> with
<Directory "/var/www/mydomain">

modpag...@googlecode.com

unread,
Dec 16, 2014, 5:45:57 AM12/16/14
to mod-pagesp...@googlegroups.com

Comment #2 on issue 1030 by bsouff...@gmail.com: infinite 301 loop on images
https://code.google.com/p/modpagespeed/issues/detail?id=1030

For an example you can look at the images under the "INTERVENANTS" section
here :
https://www.vintagereport.com/fr/napa-2014?ModPagespeed=on&ModPagespeedFilters=extend_cache

modpag...@googlecode.com

unread,
Dec 17, 2014, 9:01:35 AM12/17/14
to mod-pagesp...@googlegroups.com

Comment #3 on issue 1030 by bsouff...@gmail.com: infinite 301 loop on images
https://code.google.com/p/modpagespeed/issues/detail?id=1030

mod_pagespeed 1.8.31.5

modpag...@googlecode.com

unread,
Apr 8, 2015, 2:08:25 PM4/8/15
to mod-pagesp...@googlegroups.com

Comment #4 on issue 1030 by jcro...@google.com: infinite 301 loop on images
https://code.google.com/p/modpagespeed/issues/detail?id=1030

this issue has been migrated to github:
https://github.com/pagespeed/mod_pagespeed/issues/1030
Reply all
Reply to author
Forward
0 new messages