httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28903] - Hooks to add environment variables to CGI and other scripted content handlers
Date Tue, 11 May 2004 20:37:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28903>.
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


Mime
View raw message