[Xitami] simple cgi question
goldtech@worldpost.com
xitami@lists.xitami.org
Fri, 02 Nov 2001 01:54:20 (GMT)
Using xitami vanilla on win2k pro. "workstation". (IE5)
Trying to learn perl, cgi w/Xitami...on my local pc,
sorry if problem is very simple.
I can not get cgi script to execute.
Here's the script:
#!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.
Any help appreciated to get me started. Thanks, Lee