Use SCGIMount directive in documentation.

This commit is contained in:
Neil Schemenauer 2008-04-05 20:05:33 -06:00
parent e656c22b1c
commit d9edfad6c3
1 changed files with 4 additions and 11 deletions

View File

@ -44,7 +44,7 @@ Basic CGI configuration
-----------------------
Throughout this document, I'm going to assume that:
* CGI scripts live in the ``/www/cgi-bin`` directory of your web server,
and have the extension ``.cgi``
@ -174,11 +174,11 @@ easier to implement. mod_scgi simply forwards requests to an
already-running SCGI server on a different TCP port, and doesn't try
to start or stop processes, leaving that up to the SCGI server.
The SCGI code is available from http://www.mems-exchange.org/software/scgi/ .
The SCGI code is available from <http://python.ca/scgi/>.
The quixote.server.scgi_server module is a script that
publishes the demo quixote application via SCGI. You can use
it for your application by importing it and calling the ``run()``
it for your application by importing it and calling the ``run()``
function with arguments to run your application, on the port
you choose. Here is an example::
@ -195,13 +195,7 @@ you choose. Here is an example::
The following Apache directive will direct requests to an SCGI server
running on port 3001::
<Location />
SCGIServer 127.0.0.1 3001
SCGIHandler On
</Location>
[Note: the mod_scgi module for Apache 2 requires a colon, instead of a
space, between the host and port on the SCGIServer line.]
SCGIMount / 127.0.0.1:3001
SCGI through CGI
@ -255,4 +249,3 @@ no longer perceptible -- navigation is instantaneous.) The larger your
application is, the more code it loads, and the more work it does at
startup, the bigger a win FastCGI will be for you (in comparison to CGI).