Empty server name argument - Can't get it to work
Igor Sysoev
is at rambler-co.ru
Thu Aug 28 17:06:01 MSD 2008
On Thu, Aug 28, 2008 at 03:01:03PM +0200, Luigi Perroti wrote:
> On Thu, Aug 28, 2008 at 2:17 PM, Igor Sysoev <is at rambler-co.ru> wrote:
>
> > nginx should trigger a 400 error. Do you mean that request that was passed
> > to fastcgi should return 200 or so ?
>
> No, you're right. Indeed nginx should return a 400 error code by
> default, it is quite logical. I suppose this must be what the RFC says
> too.
>
> I just didn't think that it was still possible to override this
> behaviour with the fastcgi server response.
Fastcgi may ovverride 400 code only if
error_page 400 = /400.html;
In case of
error_page 400 /400.html;
nginx will send 400 anyway.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list