Thanks for the response.

I thought this was the problem at first, but the web server is running under
the system account.
Error logs on the web server seem to point to a different problem.

failure (  770): cgi_send:cgi_start_exec
M:/Netscape/Server4/docs/MSADC/root.exe failed

warning (  770): for host 10.92.206.102 trying to GET
/c/winnt/system32/cmd.exe, send-cgi reports: cannot find CGI program
M:/Netscape/Server4/docs/c/winnt/system32/cmd.exe (File not found)

failure (  770): cgi_send:cgi_start_exec
M:/Netscape/Server4/docs/c/winnt/system32/cmd.exe failed

warning (  770): for host 10.92.206.102 trying to GET
/d/winnt/system32/cmd.exe, send-cgi reports: cannot find CGI program
M:/Netscape/Server4/docs/d/winnt/system32/cmd.exe (File not found)

failure (  770): cgi_send:cgi_start_exec
M:/Netscape/Server4/docs/d/winnt/system32/cmd.exe failed

I think that perl thinks that cmd.exe is a cgi program.

----- Original Message -----
From: "Simon Oliver" <[EMAIL PROTECTED]>
To: "Jas Grewal" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 2:56 PM
Subject: Re: system comand from using cgi varriables.


> > Jas Grewal wrote:
> >
> > Hello all,
> >
> > I am having major problems running a system command from within a script
> > initiated by a users response on a web form.
> > I am able to run the script fine from the command line and am getting
> > the desired results. I have searched the archives for solutions to
> > similar problems but have had no joy. I think it may have something to
> > do with the way the cgi handles directory structures but am not sure.
> > I am on a WinNT4 platform using iPlanet 4.1 as a webserver.
>
> Sounds like permissions or environment.  The web server will run under a
> different user account than your own so you must make sure that that user
> has permissions to do whatever is necessary to run the script and that it
> has the same environment (paths, variables, etc).
>
> --
>   Simon Oliver
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to