Phantom redirects in Log file

Maxim Dounin mdounin at mdounin.ru
Tue Jul 3 13:03:01 UTC 2012


Hello!

On Tue, Jul 03, 2012 at 02:45:21PM +0200, Patrick Mulder wrote:

> Hello,
> 
> I am hosting multiple domains on a vserver, and I observe some
> cross-domains redirects at the end of a visit:
> 
> xxx.xxx.211.94] /  IND - Bangalore  / domain1.info / -
> [03/Jul/2012:13:15:31 +0200] "GET /favicon.ico HTTP/1.1" 200 0 /
> Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like
> Gecko) Chrome/20.0.1132.47 Safari/536.11
> xxx.xxx.211.94] /  IND - Bangalore  / domain2.com / -
> [03/Jul/2012:13:15:41 +0200] "-" 400 0 / -
> 
> 
> Anyone knows why there is redirect at the end of the visiti in the
> log? What's the effect for the visitor on the other end?

Why do you think it's redirect?  Most likely "domain2.com" is just 
a default server on the listen socket used, and an invalid request 
(or, rather, a connection without a request at all) was logged in 
it's context.

See here for more details:
http://nginx.org/en/docs/http/request_processing.html

Maxim Dounin



More information about the nginx mailing list