[Xitami] Fw: ActivePerl & Xitami - CGI problems Continued
Francis Turner
xitami@lists.xitami.org
Sun, 22 Sep 2002 18:00:33 +0200
Peter van der Goes wrote:
><large SNIPage>
>
>>that matter).
>>Here is the syntax which works:
>>
>>#!F:\Perl\bin\perl.exe -wT
>>
>>print "Content-type:text/html\n\n";
>>print "Show me the money! The Active PERL interpreter is working with my
>>
>>
>web
>
>
>>server!\n";
>>
>>The trouble starts as soon as I try to get Xitami to serve an HTML page
>>which calls a CGI through an action statement. This part always fails. I
>>have the URL correct in the action line of the HTML, and the shebang line
>>
>>
>on
>
>
>>the script points to perl.exe. The result is always a blank page, with the
>>address window in IE indicating the requested script (e.g.
>>http://127.0.0.1/cgi-bin/animal.pl).
>>When I view source, all I get is the empty HTML shell, generated by CGI?,
>>with nothing between <BODY> and </BODY>, indicating that Perl didn't
>>interpret the script commands?
>>
>>
>>>>
>>>>
You might want to do to the CGI.PM homepage and download the examples
and stick them in \xitami\cgi-bin\examples. Then try running one of them
(e.g http://localhost/cgi-bin/examples/tryit.cgi)
I have never used ActivePerl's setup options but I have never had a
problem running Win2k + Xitami + ActivePerl
Francis
--
...if the US Government were ever to get really serious about Internet
security, the top players in Microsoft's management hierarchy would find
themselves handcuffed, blindfolded, led onto a tarmac within some obscure
Air Force base, and shot.
-- Thomas C Greene (http://www.theregister.co.uk/content/55/23223.html)