Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 36762 invoked from network); 18 May 2007 14:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 May 2007 14:03:24 -0000 Received: (qmail 48496 invoked by uid 500); 18 May 2007 14:03:18 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48482 invoked by uid 500); 18 May 2007 14:03:18 -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 48471 invoked by uid 99); 18 May 2007 14:03:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 07:03:17 -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.162.224 as permitted sender) Received: from [64.233.162.224] (HELO nz-out-0506.google.com) (64.233.162.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 07:03:11 -0700 Received: by nz-out-0506.google.com with SMTP id z3so1372811nzf for ; Fri, 18 May 2007 07:02:50 -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=l+mXskc9uaQB8MGexqJigrvCFuH3lQmeXikyfc8XTet6mB966UICogfH3YYKxllg1bMXMBrdvUSvtUJakQJP9afCC+SYqTuJ7YLPDoAA3Hui1ieiBukWTkMmq6VA7AQxZhHYTMiDi2fod1c8JciuiXhSNsR2bh4kudhyvAGR5xk= 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=pR92SavVeWx2neMAoG01iC3pHBDuBXGKkiMZ18Or8sa80RDH5JnfAx9AAnL3/LQDEMC+y/tV1PvIm7vpkM6hJ6nsTBGySO2mnNCrKCk+J7KC9KJo/8mljm4DVupfox1r7k+aHeqUaoKC68xC1THzKz8ppieaodYd+s5y0ADiG5c= Received: by 10.115.16.1 with SMTP id t1mr842932wai.1179496970132; Fri, 18 May 2007 07:02:50 -0700 (PDT) Received: by 10.114.53.4 with HTTP; Fri, 18 May 2007 07:02:50 -0700 (PDT) Message-ID: Date: Fri, 18 May 2007 10:02:50 -0400 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org, "John Gosling" In-Reply-To: <00af01c79954$6b4a4300$2101a8c0@Evesham> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00af01c79954$6b4a4300$2101a8c0@Evesham> X-Google-Sender-Auth: 5c163a0b11f8f8c7 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] GET requests being changed to POST On 5/18/07, John Gosling wrote: > Hi, > > We have a web application which had been running unproblematically for > around 6 years until several days ago (approximately 10th May). At this > time we suddenly found that requests sent via POST were intermittently > showing up as GET requests in the Apache access logs. On each such occasion > (around 10% of requests) the application would fail as a consequence with > none of the POSTed data reaching our scripts. On the remaining 90% of > occasions the POST request were getting transmitted successfully. So your subject line is backwards. > (a) has their been a recent update of Apache or related software over the > last 10 days which could possibly have caused this problem? No. And in any case Apache doesn't auto-update, so it would need to be the result of you specifically changing something in apache. > > (b) does anyone have any idea of what sort of process could alter a POST > request from a browser in such a manner as it finishes up as a GET request > without any posted data by the time it reaches a CGI scripts? Incidentally, > on this point, we are pretty certain that the form is not broken in any way > and submits a valid POST request. The most common reason for a POST to change to a GET is that the POST is redirected. Check your logs for 3xx response codes and figure out what is generating them. It isn't clear if you are actually seeing GET or POST in your access_log. Perhaps you can show us some of the contents of the access_log. In the worse case, you should trace exactly what is getting sent back and forth to apache using something on the wire or something like mod_dumpio: http://httpd.apache.org/docs/2.2/mod/mod_dumpio.html 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