[NCLUG] Apache clobbering LD_LIBRARY_PATH
Michael Dwyer
mdwyer at sixthdimension.com
Tue Apr 16 13:09:45 MDT 2002
I didn't notice the subject -- the docs mention that, if you are using
suexec to do some scripting, Apache will clean 'dangerous' environment
variables. LD_LIBRARY_PATH is certainly dangerous, so it may be being
cleaned in this way.
Matt Clauson wrote:
>
> Ok, interesting problem for y'all....
>
> Running Apache, Redhat 6.2ee, without suexec... I have a compiled C CGI
> that calls a shell script. The script sources another script, which sets
> LD_LIBRARY_PATH in the environment... However, when it tries to execute
> another program two lines later, LD_LIBRARY_PATH appears to be magically
> unset... Any ideas?
>
> --mec
>
> _______________________________________________
> NCLUG mailing list NCLUG at nclug.org
>
> To unsubscribe, subscribe, or modify your settings, go to:
> http://www.nclug.org/mailman/listinfo/nclug
More information about the NCLUG
mailing list