~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to docs/howto/deployment/fastcgi.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. _howto-deployment-fastcgi:
2
 
 
3
1
============================================
4
2
How to use Django with FastCGI, SCGI, or AJP
5
3
============================================
6
4
 
7
5
.. highlight:: bash
8
6
 
9
 
Although the current preferred setup for running Django is :ref:`Apache with
10
 
mod_wsgi <howto-deployment-modwsgi>`, many people use shared hosting, on
 
7
Although the current preferred setup for running Django is :doc:`Apache with
 
8
mod_wsgi </howto/deployment/modwsgi>`, many people use shared hosting, on
11
9
which protocols such as FastCGI, SCGI or AJP are the only viable options. In
12
10
some setups, these protocols may provide better performance than mod_wsgi_.
13
11
 
74
72
easier due to permissions issues.
75
73
 
76
74
To start your server, first change into the directory of your project (wherever
77
 
your :ref:`manage.py <ref-django-admin>` is), and then run the
 
75
your :doc:`manage.py </ref/django-admin>` is), and then run the
78
76
:djadmin:`runfcgi` command::
79
77
 
80
78
    ./manage.py runfcgi [options]