Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 76652 invoked from network); 20 Aug 2004 16:12:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Aug 2004 16:12:52 -0000 Received: (qmail 7899 invoked by uid 500); 20 Aug 2004 16:12:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 7802 invoked by uid 500); 20 Aug 2004 16:12:31 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 7787 invoked by uid 99); 20 Aug 2004 16:12:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received: from [64.233.170.198] (HELO mproxy.gmail.com) (64.233.170.198) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 20 Aug 2004 09:12:28 -0700 Received: by mproxy.gmail.com with SMTP id 78so17789rnl for ; Fri, 20 Aug 2004 09:12:26 -0700 (PDT) Received: by 10.38.171.20 with SMTP id t20mr126244rne; Fri, 20 Aug 2004 09:12:26 -0700 (PDT) Received: by 10.38.78.30 with HTTP; Fri, 20 Aug 2004 09:12:26 -0700 (PDT) Message-ID: Date: Fri, 20 Aug 2004 12:12:26 -0400 From: Joshua Slive Reply-To: Joshua Slive To: users@httpd.apache.org In-Reply-To: <1093015693.3816.130.camel@x.sr.unh.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1093015693.3816.130.camel@x.sr.unh.edu> X-Virus-Checked: Checked Subject: Re: [users@httpd] unable to POST with mod_include X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 20 Aug 2004 11:28:13 -0400, Philip Collins wrote: > I am getting the "The requested method POST is not allowed for the URL" > when I try to post to a shtml file which includes some dynamic CGI > forms. I tried specifying the limit directive explicitly allowing GET > POST, to no avail. I did some web searches, and the only solution (that > is not really a solution) was to change the action of my forms to the > script the form is intended for. This is not what I really want. For > example, I have a web site with menus, search form, and footer - all are > constructed from separate html files - all included in one shtml file. > The web page loads correctly, then when I click the submit button with > some search terms, the form does a POST (GET is not an option), and I > get the error message. mod_include must have some way to do this. If > not, why not? A POST sends data to the script on stdin. SSI pages have no way to read stdin. Perhaps what you want is for one of the cgi scripts that you call from the SSI page to get the input on stdin. But how is apache supposed to know which one? In other words, POST is not supported for SSI pages for good reason. Perhaps if you explained why you can't use GET we could provide some other options. 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