CGI Problems With Xitami

Andrew MacIntyre andymac at bullseye.apana.org.au
Fri Apr 9 19:22:48 EDT 2004


On Sat, 9 Apr 2004, Fuzzyman wrote:

> Andrew MacIntyre <andymac at bullseye.apana.org.au> wrote in message news:<mailman.451.1081430027.20120.python-list at python.org>...

> > Are you using "python -u" when invoking your CGI script?  Unbuffered I/O
> > saves lots of headaches with CGI, especially on Windows.
>
> Hmmm... I'm not, I'll try it.
> I might have fun working out how with Xitami.... and then with
> whatever server we have at work :-)

I vaguely recall that Xitami might honour the "#!" convention, so try
heading your scripts with

  #!<path\to\>python -u

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac at pcug.org.au             (alt) |        Belconnen  ACT  2616
Web:    http://www.andymac.org/               |        Australia




More information about the Python-list mailing list