PDA

View Full Version : Server, Perl and CGI Problems


fluodelik
09-14-2005, 01:56 PM
Hello,

I have installed the Ominsecure server on my computer and the perl language .......and when i try a very simple script in my cgi-bin, it doesn't work.

Here is the script :

#!c:\perl\bin\perl.exe
print "Content-type: text/html\n\n";
print "<HTML>";
print "<BODY>";
print "<P>Bonjour</P>";
print "</BODY>";
print "</HTML>";
exit 0;

and here is the html code to lauch it :

<A HREF="http://127.0.0.1/cgi-bin/bonjour.pl">Lancer le script</A>

I always get a Standard CGI Script Error (Code 500)
WHY

Thanks a lot