RE: Invalid URI in request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Envoyé : mardi 4 décembre 2007 15:24
À : users@xxxxxxxxxxxxxxxx
Objet : Re:  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux