Re: Strange redirections when pagespeed is on

20 vistas
Ir al primer mensaje no leído

Jeff Kaufman

no leída,
18 may 2015, 8:52:24 a.m.18/5/2015
para mod-pagespeed-discuss
Is it possible for you to log where they were redirected to?

It looks to me like that user's path was something like:

1) browsing fb on mobile
4) eight seconds later reloaded page
5) they were immediately permanently redirected to http://www.saludterapia.com/eventos.html
6) they were immediately permanently redirected to somewhere unknown

So 1-3 are expected, and 4-6 are unexpected, right?

These aren't the kind of changes PageSpeed would typically make.

If you search your configuration files for the string "301" does anything come up?

On Sat, May 16, 2015 at 8:21 PM, Miguel Alvim <miguel....@gmail.com> wrote:
Hi!
I'm having very strange redirections when pagespeed module is on. Some facts:

  1. This happens once in a while (seems randomly)
  2. When I restart apache (with pagespeed enabled) at the beginning everything seems to be working very well). Then, after 1 hour or so, I start to see the issue.
  3. I can reproduce this behavior if I open a webpage using facebook mobile APP (it opens in a external browser) 

Here is the apache access.log opening the same page from facebook app several times. You can notice that in the third  run, there is a 301 redirect to the 4th entry line. 


87.221.211.190 - - [17/May/2015:01:58:34 +0200] "GET /articulos/generales/motivacion.html HTTP/1.1" 200 14693 "http://lm.facebook.com/lsr.php?u=http%3A%2F%2Fwww.saludterapia.com%2Farticulos%2Fgenerales%2Fmotivacion.html&ext=1431820774&hash=AclTHewGH7Byu0m26nX4yv-T7q8na-yglB2HNo5wH_SVdA&_rdr" "Mozilla/5.0 (Linux; Android 5.0.2; LG-XXX Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Mobile Safari/537.36"

87.221.211.190 - - [17/May/2015:01:58:42 +0200] "GET /articulos/generales/motivacion.html HTTP/1.1" 301 20 "http://lm.facebook.com/lsr.php?u=http%3A%2F%2Fwww.saludterapia.com%2Farticulos%2Fgenerales%2Fmotivacion.html&ext=1431820781&hash=AcnvC3w5_D8-w8uWK9agwxBHex1kfiwioBNKQzJEqlbN5A&_rdr" "Mozilla/5.0 (Linux; Android 5.0.2; LG-XXX Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Mobile Safari/537.36"

87.221.211.190 - - [17/May/2015:01:58:42 +0200] "GET /eventos.html HTTP/1.1" 301 20 "http://lm.facebook.com/lsr.php?u=http%3A%2F%2Fwww.saludterapia.com%2Farticulos%2Fgenerales%2Fmotivacion.html&ext=1431820781&hash=AcnvC3w5_D8-w8uWK9agwxBHex1kfiwioBNKQzJEqlbN5A&_rdr" "Mozilla/5.0 (Linux; Android 5.0.2; LG-XXX Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Mobile Safari/537.36"




On pagemod message log I can't find anything suspect (no error message).

My pagespeed configuration is:

Version: 13: on

Filters
ah	Add Head
cc	Combine Css
jc	Combine Javascript
gp	Convert Gif to Png
jp	Convert Jpeg to Progressive
jw	Convert Jpeg To Webp
mc	Convert Meta Tags
pj	Convert Png to Jpeg
ec	Cache Extend Css
ei	Cache Extend Images
es	Cache Extend Scripts
fc	Fallback Rewrite Css 
if	Flatten CSS Imports
hw	Flushes html
ci	Inline Css
ii	Inline Images
il	Inline @import to Link
ji	Inline Javascript
js	Jpeg Subsampling
rj	Recompress Jpeg
rp	Recompress Png
rw	Recompress Webp
ri	Resize Images
cf	Rewrite Css
jm	Rewrite External Javascript
jj	Rewrite Inline Javascript
cu	Rewrite Style Attributes With Url
cp	Strip Image Color Profiles
md	Strip Image Meta Data

Options
  BeaconUrl (bu)            http://www.saludterapia.com/mod_pagespeed_beacon https://www. saludterapia.com/mod_pagespeed_beacon
EnableCachePurge (euci) True FileCachePath (afcp) /dir_to_pagespeed_cache/ LogDir (ald) /log_to_pagespeed PurgeMethod (pm) PURGE StatisticsLogging (asle) True Domain Lawyer

Here is my Apache config:

PHP Version5.4.39-0+deb7u2
Web ServerApache/2.2.22 (Debian)
WebServer to PHP Interfacecgi-fcgi




I'm a little bit lost here. If anyone could shine some lights on this I would appreciate. Thanks in advance.
Regards.

Miguel

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/e697e054-7868-47ec-9318-e9cadbaaec08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos