in reply to Re: Help required for CGI Script
in thread CGI Script Working fine from my command prompt but Shows Internal server error when called through browser

I have given the full path , still that doesnot work.

Replies are listed 'Best First'.
Re^3: Help required for CGI Script
by Corion (Patriarch) on Dec 27, 2012 at 10:10 UTC

    You will need to do more debugging. Find out what user your CGI gets run as. Find out what the error code is when you try to launch the autostat program. Find out whether the launched program outputs an error message. Such an error message could end up in the web server error log for example. Compare the rest of the environment of the CGI script to the environment of the shell.

    A reply falls below the community's threshold of quality. You may see it by logging in.