httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@inm.de
Subject WWW Form Bug Report: "SetEnv can't be used to change PATH" on Irix
Date Thu, 01 Jan 1970 00:00:00 GMT
Submitter: sevo@inm.de
Operating system: Irix, version: 6.2
Version of Apache Used: 1.2b2
Extra Modules used: speling_module
URL exhibiting problem: 

Symptoms:
--
SetEnv PATH /foo/bar does not change the PATH passed on to CGIs. PATH is the same as for the
user invoking the server startup script. 

This may well be an old bug or misbehaviour - since CERN days, I have always restricted the
environment in the startup wrapper script, and have only tried to replace 
this with SetEnv right now. Still, it would be nice if future versions of apache would permit
control of the PATH with SetEnv (or indeeed, initialize the servers with no path rather than
with a externally inherited version).

cu
Sevo
--

Backtrace:
--

--

----- End of forwarded message from sevo@inm.de -----



Index: mod_env.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_env.c,v
retrieving revision 1.7
diff -c -r1.7 mod_env.c
*** 1.7 1996/12/01 20:29:02
--- mod_env.c   1996/12/18 19:20:22
***************
*** 77,85 ****
   *         Environment variables take their value from the last instance
   *         of PassEnv / SetEnv to be reached in the configuration file.
   *         For example, the sequence:
!  *            PassEnv PATH
!  *            SetEnv PATH /special/path
!  *         Causes PATH to take the value '/special/path'.
   * 23.Feb.96 Added UnsetEnv directive to allow environment variables
   *           to be removed.
   *           Virtual hosts now 'inherit' parent server environment which
--- 77,85 ----
   *         Environment variables take their value from the last instance
   *         of PassEnv / SetEnv to be reached in the configuration file.
   *         For example, the sequence:
!  *            PassEnv OSTYPE
!  *            SetEnv MINE /special/path
!  *         Causes MINE to take the value '/special/path'. OSTYPE is passed.
   * 23.Feb.96 Added UnsetEnv directive to allow environment variables
   *           to be removed.
   *           Virtual hosts now 'inherit' parent server environment which



Mime
View raw message