Debug Http 400 Errors

Andrew Deason adeason2 at uiuc.edu
Wed Jun 11 05:58:09 MSD 2008


On Tue, 10 Jun 2008 09:25:07 -0400
"Davy Campano" <dcampano at gmail.com> wrote:

> I'm getting some 400 errors in my logs, and I'm wondering if there is
> a log variable which will tell me the attempted url that was trying
> to be accessed.  I have tried both $request and $request_uri, but
> both look like they give the path to the file trying to be accessed,
> and are blank when the error code is 400.
[...]
> 0.000 194.144.8.59 [10/Jun/2008:08:24:38 -0500] - 400

This is what you see when the client closed the connection before their
request was actually sent. So you can't get the attempted url in the
log; the server never received a url from the client.

-- 
Andrew Deason
adeason2 at uiuc.edu






More information about the nginx mailing list