On Thu, May 16, 2002 at 05:00:13PM +0200, Jeroen Massar wrote: > Due to inheritance (export) of environment variables I usually start > Apache after doing a: > # for i in `export | cut -f3 -d' '|cut -f1 -d'='`; do export -n $i; done > Which cleans them all up nicely.
You can also do this by running httpd under "env -", which I believe is quite portable. man env(1) for details.