Django

Code

Changeset 4898

Show
Ignore:
Timestamp:
04/01/07 01:40:01 (2 years ago)
Author:
adrian
Message:

Edited faq.txt and fastcgi.txt changes from [4897]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/faq.txt

    r4897 r4898  
    329329Although we recommend mod_python for production use, you don't have to use it, 
    330330thanks to the fact that Django uses an arrangement called WSGI_. Django can 
    331 talk to any WSGI-enabled server. Other common non-mod_python deployment 
    332 setups are FastCGI, SCGI, or AJP. See `How to use Django with FastCGI, SCGI or 
    333 AJP`_ for full information. 
     331talk to any WSGI-enabled server. Other non-mod_python deployment setups are 
     332FastCGI, SCGI or AJP. See `How to use Django with FastCGI, SCGI or AJP`_ for 
     333full information. 
    334334 
    335335Also, see the `server arrangements wiki page`_ for other deployment strategies. 
  • django/trunk/docs/fastcgi.txt

    r4897 r4898  
    55Although the `current preferred setup`_ for running Django is Apache_ with 
    66`mod_python`_, many people use shared hosting, on which protocols such as 
    7 FastCGI, SCGI, or AJP are the only viable options. In some setups, these protocols 
     7FastCGI, SCGI or AJP are the only viable options. In some setups, these protocols 
    88also allow better security -- and, possibly, better performance -- than mod_python. 
    99 
    1010.. admonition:: Note 
    1111 
    12     This document primarily talks about FastCGI, although other flup-supported 
    13     protocols such as SCGI and AJP are supported.  
     12    This document primarily focuses on FastCGI. Other protocols, such as SCGI 
     13    and AJP, are also supported, through the ``flup`` Python package. See the 
     14    "Protocols" section below for specifics about SCGI and AJP. 
    1415 
    1516Essentially, FastCGI is an efficient way of letting an external application 
     
    8788--------- 
    8889 
    89 Django supports all the protocols that flup_ does, namely fastcgi_, `SCGI`_, and `AJP1.3`_.  
    90 Your preferred protocol can be selected by using the `protocol=`<protocol_name> option with 
    91 `./manage.py runfcgi` where <protocol-name> may currently be one of: `fcgi` (the default),  
    92 `scgi`, or `ajp`.  
     90Django supports all the protocols that flup_ does, namely fastcgi_, `SCGI`_ and `AJP1.3`_ 
     91(the Apache JServ Protocol, version 1.3). Select your preferred protocol by using the 
     92`protocol=`<protocol_name> option with `./manage.py runfcgi` -- where <protocol_name> 
     93may be one of: `fcgi` (the default), `scgi` or `ajp`. For example:: 
     94 
     95    ./manage.py runfcgi --protocol=scgi 
    9396 
    9497.. _flup: http://www.saddi.com/software/flup/