3 Mar
2005
3 Mar
'05
11:28 a.m.
On Thu, Mar 03, 2005 at 11:18:15AM +0000, Henrik Storner wrote:
In <20050303101113.94696.qmail at web25802.mail.ukl.yahoo.com> lars ebeling <dhd733 at yahoo.se> writes:
this isn't for this mailinglist, but I have to every time change -wT to -wt in maint.pl because executing gives an error:
Insecure directory in $ENV{PATH} while running with -T
Since maint.pl runs directly as a CGI from the webserver, I believe you need to do some setup for the PATH that the webserver passes to CGI's.
A bit of digging on httpd.apache.org reveals that adding
SetEnv PATH /bin:/usr/bin:/usr/local/bin
to your httpd.conf should provide a reasonable PATH setting for your CGI scripts. http://httpd.apache.org/docs-2.0/mod/mod_env.html#setenv
Henrik