hello,
te attached snippet sems to be enough to make quixote work with
mod_python.
it goes pretty fast (ab says 150 req/s with the demo "handler by a
python function" url), and doesn't need any non-free software
(fastcgi).
i haven't tested it a lot, mainly just the demo.
here's how i set it up (debian woody):
apt-get install libapache-mod-python
cp quixote_handler.py /usr/local/lib/python2.0/site-packages/
add to /etc/apache/httpd.conf:
LoadModule python_module /usr/lib/apache/1.3/mod_python.so
SetHandler python-program
PythonPath "sys.path + ['/home/erno/quixote']"
PythonHandler quixote_handler
PythonOption quixote-package quixote.demo
PythonInterpreter quixote.demo
PythonDebug On
you need a separate PythonInterpreter for each package.
-- erno