Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI to work

Status
Not open for further replies.

prrm333

Programmer
Apr 14, 2003
97
US
When I attempt to view the shtml page I created I get the following error message:

Failed to execute CGI : Win32 Error Code = 3

What am I doing wrong?
 
I am assuming that you are calling the .cgi using SSI (server side includes).

1. Check the permissions of the .cgi; make sure it is 755

2. If the cgi is returning output; make sure your .cgi is returning a "content-type".

 
Thanks for the help there where 2 things wrong. One was as you mentioned to make sure I have a returning content-type and the second one was the heading needed to be: #!/usr/bin/local/perl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top