
S_Shrum
User
Apr 12, 2001, 10:35 AM
Post #1 of 5
(3329 views)
|
Win2kpro w/ IIS 5 and Activestate PERL - EXEC CMD & Win32 error code 3
|
Can't Post
|
|
I am trying to get CMD calls to work on my NT box at home where I do my initial development. Everything works great on the Unix host I send to. I have gone through the IIS help and added the appropriate entry to the registry with a value of 1 to allow for EXEC CMD. SSIEnableCmdDirective REG_DWORD Range: 0, 1 Default:0 (disabled) The problem that I have now is that I am getting a Win32 error = 3 (path not found) error when my SHTML pages make the CMD calls. I tried full URL calls like: <!--exec cmd="http://www.mydomain.net/cgi-bin/myscript.pl param1=test"--> I tried full path names like: <!--exec cmd="d:\data\website\cgi-bin\myscript.pl param1=test"--> I even duplicatied the directory structure of the call itself and placed my scripts there to mimic the Unix structure like: <!--exec cmd="/a/home/username/cgi-bin/myscript.pl param1=test"--> ...but I get the same result - error code 3. Ultimately, I would like to set up my NT box up so that the SHTML pages do not need to be modified for my home NT intranet and the Unix box internet site. TIA Sean Shrum sean@shrum.net www.shrum.net
|