This is a discussion on How to set PATH for cgi-scripts? within the Apache Web Server forums, part of the Web Server and Related Forums category; I am trying to persuade Apache 2.0 look into /usr/local/bin when doing system() calls from a Perl ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
| Thread Tools | |
| Display Modes | |
|
|