in reply to General CGI problem.

The first thing I would do is to check the web server log.

Have you tried to hardcode the path to the rsh program in your open statement, instead of providing a relative path?

... And you do know that when the script is run under the Webserver, it actually has the UID of the webserver (eg. httpd), not yourself (when you run from the command-line).

Replies are listed 'Best First'.
Re: Re: General CGI problem.
by GaijinPunch (Pilgrim) on Dec 10, 2003 at 06:10 UTC
    Dang, I think you are right. I do have some errors in the log from today. I did something almost the exact same, but ran it on the machine locally and got nothing as well... I guess it was a different error. :( I'll try again --- good information on the UID. I completely forgot that whoever ran the script would be rsh'ing.