diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-04-01 06:40:01 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-04-01 06:40:01 +0000 |
| commit | 9b6a518e1748c6ef66450c9e75007e1e5ce3f98e (patch) | |
| tree | 86d54184e5ea47eab92855dc782c39a2a96ef891 /docs/fastcgi.txt | |
| parent | 72dfcab0d43bd26166605d26dd89d33d6f033676 (diff) | |
Edited faq.txt and fastcgi.txt changes from [4897]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/fastcgi.txt')
| -rw-r--r-- | docs/fastcgi.txt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/fastcgi.txt b/docs/fastcgi.txt index e73c6f3df9..2791403a2f 100644 --- a/docs/fastcgi.txt +++ b/docs/fastcgi.txt @@ -4,13 +4,14 @@ How to use Django with FastCGI, SCGI or AJP Although the `current preferred setup`_ for running Django is Apache_ with `mod_python`_, many people use shared hosting, on which protocols such as -FastCGI, SCGI, or AJP are the only viable options. In some setups, these protocols +FastCGI, SCGI or AJP are the only viable options. In some setups, these protocols also allow better security -- and, possibly, better performance -- than mod_python. .. admonition:: Note - This document primarily talks about FastCGI, although other flup-supported - protocols such as SCGI and AJP are supported. + This document primarily focuses on FastCGI. Other protocols, such as SCGI + and AJP, are also supported, through the ``flup`` Python package. See the + "Protocols" section below for specifics about SCGI and AJP. Essentially, FastCGI is an efficient way of letting an external application serve pages to a Web server. The Web server delegates the incoming Web requests @@ -86,10 +87,12 @@ or socket you specified when starting the FastCGI server. Protocols --------- -Django supports all the protocols that flup_ does, namely fastcgi_, `SCGI`_, and `AJP1.3`_. -Your preferred protocol can be selected by using the `protocol=`<protocol_name> option with -`./manage.py runfcgi` where <protocol-name> may currently be one of: `fcgi` (the default), -`scgi`, or `ajp`. +Django supports all the protocols that flup_ does, namely fastcgi_, `SCGI`_ and `AJP1.3`_ +(the Apache JServ Protocol, version 1.3). Select your preferred protocol by using the +`protocol=`<protocol_name> option with `./manage.py runfcgi` -- where <protocol_name> +may be one of: `fcgi` (the default), `scgi` or `ajp`. For example:: + + ./manage.py runfcgi --protocol=scgi .. _flup: http://www.saddi.com/software/flup/ .. _fastcgi: http://www.fastcgi.com/ |
