[Xitami] Associating .cgi with python

Ewen McNeill xitami@lists.xitami.org
Wed, 30 Jan 2002 15:52:24 +1300


In message <1012358643.3c575df371900@webmail.netspace.net.au>, abulka@netspace.n
et.au writes:
>#!/usr/bin/python2
>as the first line of the script, but that only makes sense on my linux machine.
>How do I associate .cgi with python, for Xitami running under windows?

The same way.  Put the #! line in, and then make sure Python is on the
PATH.  Providing you have python2.exe somewhere on your PATH, it'll
"just work" with Xitami.  (Yes, this is a special feature of Xitami.)

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com