400 bad request errors
pepejose
nginx-forum at nginx.us
Tue Oct 6 19:53:19 MSD 2009
> Igor Sysoev Wrote:
> -------------------------------------------------------
>
>
> Anyway, these bad requests are caused 400 error
> much early than "return 444".
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
then,
in the wiki says this
"The basic name of server is used in an HTTP redirects, if no Host header was in client request or that header does not match any assigned server_name"
the response is HTTP 444 if there is the host header but there is no virtualhost defined with same host
but 400 bad request when no header host in request, however, the sever field equals "_" and not empty
all this because every day I have many entries in the access.log like this and want to find out why:
>>I have in one hour 441
> > "NULL 400 Bad Requests" made by 45 ips aprox
> >
> > example:
> >
> > 17 connections: same ip, same second
> >
> > IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> > "-" "-"
> > IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> > "-" "-"
> > IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
> > "-" "-"
> > IP _ - [01/Oct/2009:09:44:40 +0200] "-" 400 0 "-"
>> etc .....
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,9695,11538#msg-11538
More information about the nginx
mailing list