[Xitami] using cgi with Xitami

R O xitami@lists.xitami.org
Wed, 11 Feb 2004 15:28:31 -0800


The "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; 
charset=windows-1252"></HEAD>"

comes from you defaults.cfg [CGI] parameters,
[CGI]
    ....
    http-fields=1                       #   Add HTTP_ header fields?
    http-prefix=HTTP_              #   If so, what prefix?
    ....

Some others posted some info that the lastest Xitami code is quite 
buggy....I don't run it so I couldn't comment on the latest version.


Russel P. Olinger
(310) 466-3399
rolinger1@hotmail.com





>From: Vera Cranor <vcranor@InfoAve.Net>
>Reply-To: xitami@lists.xitami.org
>To: xitami@lists.xitami.org
>Subject: Re: [Xitami] using cgi with Xitami
>Date: 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.
>
>
>--
>Xitami Users Mailing List -- For Xitami support
>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami

_________________________________________________________________
Click here for a FREE online computer virus scan from McAfee. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963