[Xitami] Win XP, Xitami, Perl

Vera Cranor xitami@lists.xitami.org
Wed, 11 Feb 2004 03:36:48 -0600


Has anyone installed this setup file, bw3225b4.exe, using Win XP, and
gotten a Perl script to work?
It seems Xitami isn't getting the output from Perl, or not passing it
on. I can tell the Perl script
runs because it creates a file if so, and the file gets created. But the
simple page returned by the script
doesn't end up in the browser. Instead of getting the output from the
cgi program (below) I get
a properly coded html blank page.

>From another test I see that the query string makes it to the Perl
interpreter. It all works except that
Xitami doesn't seem to be getting the output from Perl.

Thanks for any help
vera



The simple Perl script (not a problem, runs in DOS box):

#!/usr/bin/perl
print "content-type: text/html\n\n";
print '<html><body><center>TESTING</center></body></html>';
open(F, ">xtest.txt");
print F "ok";
close F;
exit;