Hello People,
I am having troubles with a perl functionality build in our content management system. There is a script used to export data. Before you can do so, the script has to look for a set of directories within a certain directory on a remote share. this work fine called from both command line and through CGI. The server where the script runs correct is a old windows 2000 machine. It doesn't matter of you use Apache 1.3 or IIS5 to call it through CGI, both work fine.
I am assembling a new server and want to use this script again. This is a windows 2003 server box, with IIS6 and Apache 2.0 installed. The script is still able to retrieve the collection of directories from the remote folder, but only if you run the script from command line. When I call the script through CGI I get the message "No such file or directory" returned in $!.
I am sure this has something to do with security, but I am not sure where to start. I want to know what user account Perl is using when it is getting called from CGI, but $< $> $( and $) all return 0. I assume these variable only are filled on unix based machines. Can anybody push me into the right direction?
Thx in advance!