Missing slash and error 400 / bad Request

Igor Sysoev is at rambler-co.ru
Tue Nov 3 14:36:24 MSK 2009


On Tue, Nov 03, 2009 at 02:51:38AM -0800, cheinsow wrote:

> i'm trying to use Nginx as a reverse proxy, and i get some troubles due to a
> missing "/" in the HTTP header sant by a client application.
> The HTTP/GET header is "GET index.html HTTP/1.1" and it seems that it should
> be "GET /index.html HTTP/1.1". This causes an error 400 (nginx logs confirms
> this).
> 
> knowing that the client application cannot be modified, is their a way to
> configure Nginx so that it accepts this request ?

Do the client work with other web servers ?
Apache should return 400 error on such request too.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list