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.
On Tue, 10 Jun 2008 09:25:07 -0400
“Davy C.” [email protected] 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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.