Question
Running testenv.pl (after some modifications to make it not fail early in NT (getguid not implemented causes script to fail), I have discovered that none of the external executable files are "found" by the testenv script. I have set an absolute path in wikicfg.pl, but they don't seem to be found. Even the blat program which is in the same dir that testenv.pl is running from is not found. Could this be a fault of testenv.pl or is there some env setting I need to do either in my env or some env setting in Apache? The testenv.pl script does not look like it takes ".exe" file extensions into account, but i'm not a perl scripter, so I can't be sure.
I'm also getting
ci: Who are you? Please setenv LOGNAME and
ci aborted messages in my apache log file, yet I have logged in and TWiki shows my name in places where it shows who is logged in. I have also seen the "ci: Who are you..." on the force web statistics progress page.
- TWiki version: 20001201
- Web server: Apache 1.3.17
- Server OS: Windows NT Workstation 4.0sp6a
--
DavidLeBlanc - 18 Feb 2001
Further research suggests it's a bug in wiki.pm at line 125. If I had a hope of the correct PATH being in the CGI ENV, this killed it.
--
DavidLeBlanc - 18 Feb 2001
Answer
Resetting PATH in
wiki.pm is actually a security feature, not a bug. The full path of all external programs should be set in wikicfg.pm.
--
PeterThoeny - 24 Feb 2001
Response
I have no problem resetting the path - as long as it's platform sensitive. Very few windows files of any kind exist in /bin or /usr/bin. Perhaps wikicfg.pm needs a "safe_path" variable that's used instead of this hard coded unix specific path?
--
DavidLeBlanc - 24 Feb 2001