httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnab Ganguly" <agangul...@gmail.com>
Subject Re: [users@httpd] Invalid URI in request
Date Wed, 05 Dec 2007 14:37:04 GMT
Hi All,
Thanks for all the info.I agree there is some issue with request as HTTP
method is missing in the request for which I get invalid URI in the error
log.But wanted to know how is it possible to send such invalid request? Do
we have any tool by which  I can test this thing.I tried some of the free
tools that allows to create HTTP request but HTTP method name is always
there.

Like in my case I didn't got the method name in the request.
Thanks in advance
-A

On Dec 5, 2007 1:24 PM, Axel-Stephane SMORGRAV <
Axel-Stephane.SMORGRAV@europe.adp.com> wrote:

> Now it is pretty clear that the problem is the missing method in the
> request.
>
> The URL should be prefixed with GET, PUT, POST or some other HTTP method.
>
> From RFC 2616:
>       Method         = "OPTIONS"                ; Section 9.2
>                      | "GET"                    ; Section 9.3
>                      | "HEAD"                   ; Section 9.4
>                      | "POST"                   ; Section 9.5
>                      | "PUT"                    ; Section 9.6
>                      | "DELETE"                 ; Section 9.7
>                      | "TRACE"                  ; Section 9.8
>                      | "CONNECT"                ; Section 9.9
>                      | extension-method
>
> So you log should for example have read:
> 68.197.41.131 - - [04/Dec/2007:02:24:46 -0500] "GET /test-bin/test-module
> HTTP/1.0" 200 1234
>
> The problem is with your client.
>
> -ascs
>
> ________________________________
>
> De : Arnab Ganguly [mailto:aganguly01@gmail.com]
> Envoyé : mardi 4 décembre 2007 15:24
> À : users@httpd.apache.org
> Objet : Re: [users@httpd] Invalid URI in request
>
>
> In the access log I got was
> 68.197.41.131 - - [04/Dec/2007:02:24:46 -0500] "/test-bin/test-module
> HTTP/1.0" 400 226
>
> and the error log I got is
> [error] [client 68.197.41.131] Invalid URI in request
> /test-bin/test-module HTTP/1.0
> Thanks
> -A
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message