Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 1248 invoked from network); 14 Jun 2007 15:33:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 15:33:52 -0000 Received: (qmail 36121 invoked by uid 500); 14 Jun 2007 15:33:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36108 invoked by uid 500); 14 Jun 2007 15:33:42 -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 36097 invoked by uid 99); 14 Jun 2007 15:33:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 08:33:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jslive@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 08:33:38 -0700 Received: by py-out-1112.google.com with SMTP id d32so1171771pye for ; Thu, 14 Jun 2007 08:33:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=jvyPkdB4XyickJF7NGOQLRPKg1eWqM9MbHWeIP59rwFZ9cJWkYltY6WxunJoWIXHHu7lVNTfvaOTS2ci668moKyVWS5Vf0z+qL3bpirbvMp5a2WrnadztzTaBd1rDvn7I8S4g5JcvpqdRqjqXsDZ6r4nEJlNnyWGLAEM9lp5Jag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=gNKVD3CpueSKXxFOjmTSrDiL1OJmy7h7qAIzwa8sRQSbyU1zLSQXNJtUr4E/ljvNN6OgbHi1N/fGLLO20A9J98PzZrjRgGMfIndcXIZ5jPS1MySdatT8cGb8MHn4o9DWhaMOXnf3zkOgiuyT06gk0K7RpEpYCFdCOdVGFgW5Ue8= Received: by 10.115.22.1 with SMTP id z1mr1978725wai.1181835196184; Thu, 14 Jun 2007 08:33:16 -0700 (PDT) Received: by 10.114.53.4 with HTTP; Thu, 14 Jun 2007 08:33:16 -0700 (PDT) Message-ID: Date: Thu, 14 Jun 2007 11:33:16 -0400 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: d2893ddd27bd27c1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Invalid URI in request On 6/13/07, Rich Bowen wrote: > There is a URI on my website for which I get: > > Invalid URI in request GET /hr/jobs HTTP/1.1 > > every single time the URI is accessed. The URI works as desired, > returning the document as desired, and the end-user is never aware > that anything untoward happened. > > I'm curious why I'm getting this error. I see the place in the code > where it is generated, but I'm not clear why this particular URI > generates it and others do not. > > For additional background, '/hr' is a php file, and '/jobs' therefore > is PATH_INFO data. However, this technique is used for virtually > every document on my website, so the technique itself is unlikely to > be at fault - at least, as far as I can tell. Interesting. I assume that the error is being triggered for requests from ordinary web clients? Is your "hr" script triggering any sub-requests? My last-ditch effort to find the cause would be to run httpd -X under gdb and set a breakpoint at that error message. Another option would be simply to replace r->the_request with r->uri in the error message so that you can see what is really triggering the problem. (That might actually be a good patch in general; it is silly to test the validity of one thing and then report a possibly different thing in the error message.) My best guess is that something in your script is causing r->uri to get rewritten to an invalid path. Joshua. --------------------------------------------------------------------- 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