Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 25378 invoked by uid 500); 22 Mar 2001 06:10:27 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 25360 invoked by uid 501); 22 Mar 2001 06:10:26 -0000 Date: 22 Mar 2001 06:10:26 -0000 Message-ID: <20010322061026.25359.qmail@apache.org> To: apache-bugdb@apache.org, slive@apache.org, weikusat@mail.uni-mainz.de From: slive@apache.org Subject: Re: mod_cgi/7353: Apache being to trigger happy with respect to CGI programs [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: Apache being to trigger happy with respect to CGI programs State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Wed Mar 21 22:10:26 PST 2001 State-Changed-Why: I'm not an expert in this (you should check one of the CGI FAQs for details), but I believe the correct way to handle this situation is to fork a subprocess from your CGI before you send the Location: header, and make sure to close stdin/stdout/etc on the forked process. Apache can't count on CGI processes cleaning up after themselves. Thanks for using Apache!