Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 38722 invoked from network); 11 May 2004 20:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 May 2004 20:37:04 -0000 Received: (qmail 58534 invoked by uid 500); 11 May 2004 20:38:35 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 58497 invoked by uid 500); 11 May 2004 20:38:34 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 58480 invoked by uid 98); 11 May 2004 20:38:34 -0000 Received: from anonymous@nagoya.betaversion.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(192.18.33.10):. Processed in 0.054738 secs); 11 May 2004 20:38:34 -0000 X-Qmail-Scanner-Mail-From: anonymous@nagoya.betaversion.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(192.18.33.10):. Processed in 0.054738 secs) Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by hermes.apache.org with SMTP; 11 May 2004 20:38:34 -0000 Received: (qmail 761 invoked by uid 50); 11 May 2004 20:37:52 -0000 Date: 11 May 2004 20:37:52 -0000 Message-ID: <20040511203752.760.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 28903] - Hooks to add environment variables to CGI and other scripted content handlers X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28903 Hooks to add environment variables to CGI and other scripted content handlers ------- Additional Comments From nd@perlig.de 2004-05-11 20:37 ------- I disagree. The problems needs to be nailed down where the hole is, not where the hammer is. So what do you ant to achieve? A modification of the environment passed to a CGI. mod_cgi should be changed only then. Adding hooks to a basic *utility* function is not an option. That is really error prone, because you're starting to influence code that you cannot control. Finally, one hook with (r) is enough. You want to modify r->subprocess_env after it was filled in, nothing else. How it was built before is totally the same to the hook function. Other opinions would be appreciated here. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org