Strange 302 redirect to google.com
kristian at redpill-linpro.com
Wed Jan 13 15:41:11 CET 2010
On Mon, Jan 11, 2010 at 01:57:27PM +0200, Maurice wrote:
> i have a problem with a strange 302 redirect to google.(com|ro) just by
> visiting http://dir.acasa.ro on google chrome and ie, on firefox
> everything works fine. the strange part is that on certain ips (not
> listed in the vcl so nothing fancy) the page works on all browsers. is it
> possible that varnish caches the 302 redirects and on a "get index"
> request and spits out 302? but why redirect to google?
I just had a look at this issue and can't reproduce it, nor do I see any
good reason for why it would happen based on what you provide.
Varnish can/does cache 302s, but that wouldn't explain why they are there
in the first place. The varnishlog you provide does have any Location:
header that links to Google, and after running through the list, none of
those sites refer to Google either. And I can promise you that Varnish does
not have any ties to Google out of the box.
How consistently does this happen? What other systems are involved
(loadbalancers,etc)? What sort of pattern do you see when it does happen?
If you can reproduce it, seeing output from GET/HEAD and/or firebug might
help reveal the underlying issue too.
Redpill Linpro AS
Mob: +47 99014497
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
More information about the varnish-misc