Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96774BFE2 for ; Wed, 4 Jan 2012 19:18:14 +0000 (UTC) Received: (qmail 22824 invoked by uid 500); 4 Jan 2012 19:18:11 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 22721 invoked by uid 500); 4 Jan 2012 19:18:11 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 22712 invoked by uid 99); 4 Jan 2012 19:18:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 19:18:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.163.129.117] (HELO xs.adaptr.nl) (83.163.129.117) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 19:18:03 +0000 Received: from [10.10.10.88] (unknown [10.10.10.88]) by xs.adaptr.nl (Postfix) with ESMTPSA id 18C011D8032 for ; Wed, 4 Jan 2012 20:17:43 +0100 (CET) Message-ID: <4F04A5D6.8090503@adaptr.nl> Date: Wed, 04 Jan 2012 20:17:42 +0100 From: Jeroen Geilman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111125 Thunderbird/3.1.16 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: users@httpd.apache.org References: <32337932.f359VV08xi@linux-suse> In-Reply-To: <32337932.f359VV08xi@linux-suse> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Invalid URI in request OPTIONS * HTTP/1.0 On 01/04/2012 12:36 PM, Szőts Ákos wrote: > Hi All, > > There's a frequent error message in my Apache error_log (v2.2.21 under > openSUSE 12.1): > "Invalid URI in request OPTIONS * HTTP/1.0" > > I know this is an internal dummy connection to test if the server is alive > or not. But every time, Apache tries to connect to itself, it writes > instead of the error log. > > Here is the full request: > OPTIONS * HTTP/1.0 > User-Agent: Apache (internal dummy connection) > > Response: > HTTP/1.1 400 Bad Request > Vary: accept-language,accept-charset,User-Agent > Accept-Ranges: bytes > Connection: close > Content-Type: text/html; charset=iso-8859-1 > Content-Language: en > Expires: Tue, 03 Jan 2012 19:31:04 GMT > > Here is the full "debug" log: > [error] [client 194.38.104.110] Invalid URI in request OPTIONS * HTTP/1.0 > [debug] mod_headers.c(756): headers: ap_headers_output_filter() > [debug] mod_headers.c(756): headers: ap_headers_output_filter() > [debug] mod_headers.c(756): headers: ap_headers_output_filter() > [debug] mod_headers.c(756): headers: ap_headers_output_filter() > [error] [client 194.38.104.110] ModSecurity: Warning. String match "Invalid > URI in request" at WEBSERVER_ERROR_LOG. > > I tried to telnet to my server on port 80, and when I write "OPTIONS *", I > get a 400 error, but when I write "OPTIONS /", I got 200 OK. > RFC says the * is acceptable, so I don't understand why the error. > An internal dummy connection will originate from localhost (127.0.0.1), not 194.138.104.110: [error] [client 194.38.104.110] ModSecurity: Warning. String match "Invalid URI in request" at WEBSERVER_ERROR_LOG. As to the OPTIONS * request failing - make sure there are no hidden rewrite rules or other URI mangling going on. -- J. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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