I am writing scripts that require certain environment
variables in order to run. (They use shared
libraries and require a LD_LIBRARIES_PATH variable).
I am using NCSA httpd. The server runs scripts passing
only CGI-related in the environment, so my shared library
scripts crash and burn.
Currently I run a dummy script that sets up the environment
and then runs the real script, but this is cumbersome
Does anyone know of a way to configure NCSA httpd to
pass extra environment variables to scripts? Do other
servers have this capability? (I have heard that CERN
httpd passes the environment it was run under to scripts
as well as CGI-related variables.)
Any suggestions would be appreciated... I like NCSA httpd,
so if anyone knows how to do what I need to with it,
I'd be especially grateful.
Thanks a lot.