[Xitami] using cgi with Xitami
Vera Cranor
xitami@lists.xitami.org
Wed, 11 Feb 2004 17:17:22 -0600
Thanks Russ. Yep I can pull a html page... even from the cgi-bin. And the test
cgi program even runs.
It's just that the output from the cgi is not returned to the browser. There is
no kind of error indication.
Here's the test script, which runs ok in the DOS box:
#!/usr/bin/perl
print "content-type: text/html\n\n";
print '<html><body><center>test</center></body></html>';
open(F, ">xtest.txt");
print F "okedoke";
close F;
exit;
Here's the source from the page Xitami returns:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
I don't know where that came from, but it didn't come from the test script.
Here's the output from the test script using the DOS box:
content-type: text/html
<html><body><center>test</center></body></html>
I've tried all these: bs3225b4, bw3225b4, bw3224d7.exe, and the zip file,
xiopen_2_4.zip
and can't get any of them to work. Maybe it's something to do with Win XP?
Thanks for the try,
vera
> Vera,
>
> First off, can you even pull up a generic webpage with your current
> settings.