I am trying to persuade Apache 2.0 look into /usr/local/bin when doing
system() calls from a Perl cgi-script. I am using the Fedora Core 1
rpms and would prefer not to have to recompile anything.
I have tried to set
SetEnv PATH "/usb/local/bin:/usr/bin:/bin"
in the /etc/httpd/conf/httpd.conf, but it does not seem to work. The
script runs as user apache (no login shell).
(I can not hardcode the full path to the external executable, because
the system script is actually preformed by an external perl module by
another author, which expects the executable to be in the PATH,
period.)
Please help, I have googled and read tons of Apache documentation, but
I failed to find anything useful.
J.
>> Stay informed about: How to set PATH for cgi-scripts?