Index of /ports/www/py-scgi/work/scgi-1.12/apache2
Name Last modified Size Description
Parent Directory 18-Jan-2008 16:40 -
Makefile 19-May-2006 08:30 1k
mod_scgi.c 25-Aug-2006 16:43 20k
Building
--------
Using the 'apxs' tool:
$ apxs -i -c mod_scgi.c
Alternatively, you can use 'make install'.
Configuration
-------------
To enable, add
LoadModule scgi_module /<some path>/mod_scgi.so
in your httpd.conf file. To serve a set of URLs under one path with an
SCGI server, use the SCGIMount directive:
SCGIMount /dynamic 127.0.0.1:4000
Demo
-----
Quixote >= 2.0a2 has a demo application you can try out by running:
python $QUIXOTE/server/scgi_server.py --port 4000
with the appropriate path for $QUIXOTE. If you have Quixote 1.3 or
2.0a1 installed, use the driver bundled with SCGI instead:
python scgi/quixote_handler.py -F
If you don't have Quixote, the SCGI server doubles as a standalone
demo:
python scgi/scgi_server.py 4000