httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <rpl...@apache.org>
Subject Re: DO NOT REPLY [Bug 43906] SetEnv does not allow PATH override
Date Mon, 21 Dec 2009 07:29:39 GMT
On 21.12.2009 02:46, Nick Kew wrote:
> On 20 Dec 2009, at 23:09, bugzilla@apache.org wrote:
> 
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=43906
>>
>> I agree it's inconsistent for PATH and LD_LIBRARY_PATH to differ, and in AFAICS
>> what you ask for seems reasonable.  I'll raise this on the dev list.
> 
> PR 43906 complains that SetEnv PATH doesn't work: it gets explicitly
> overridden by the environment.  On reflection, it seems to me a
> reasonable request to be able to set PATH for subrequests.
> 
> The current code ensures PATH is always set: is that really
> necessary?  Any reason not to remove it in trunk?

We should be a least consistent regarding LD_LIBRARAY_PATH and PATH.
IMHO it makes no sense that you can change one of them but not
the other. Either you are able to change both or for possible
security reasons none of them.
Currently I would lean to make both changeable.

Regards

RĂ¼diger



Mime
View raw message