I'm just a tender young altar boy. Trying to get my first
cgi script to run.
os: win2k
server: Xitami console version
perl: ActivePerl 5.6.0.616
browser: IE5
code:
#!C:\Perl\bin
print "Content-type: text/html\n\n";
print "Hello World";
#end script
The shebang line is the path to my perl bin folder.
The script runs ok in a dos box.
The script name is: hello.pl and is in C:\Xitami\cgi-bin
If I point the browser to http://127.0.0.1/cgi-bin/testcgi
it works and shows env. variables.
But:
If I point browser to: http://127.0.0.1/cgi-bin/hello
then I get a default IE5 page saying there was a problem
opening this pg. Also tried .../hello.pl.
The priests have shaved my head there is no turning back.
Please help - it must be simple. Thanks