Yes, I'm just using Xitami and CGI for development. This will most likely be
deployed on Apache. But Xitami does have a fastCGI-like mechanism called
LRWP (Long Running Web Process) written by Robin Dunn of wxPython fame:
http://www.imatix.com/html/xitami/index12.htm
I haven't tried it yet, but the example for Python looks like this:
from lrwplib import LRWP
def main():
lrwp = LRWP('hello', 'localhost', 81)
lrwp.connect()
count = 0
while count < 5: # exit after servicing 5 requests
count = count + 1
req = lrwp.acceptRequest()
req.out.write('Content-type: text/html\r\n\r\n')
req.out.write('hello<')
req.out.write('\n')
req.out.write('Hello from LRWP
\nCount = ' + str(count))
req.out.write('\n