Changes between Version 34 and Version 35 of ServerArrangements


Ignore:
Timestamp:
07/30/2007 06:09:49 AM (8 years ago)
Author:
Simon G. <dev@…>
Comment:

Rearranged and added subheadings

Legend:

Unmodified
Added
Removed
Modified
  • ServerArrangements

    v34 v35  
    11= Server arrangements =
     2
     3[[TOC]]
    24
    35Because Django uses [http://www.python.org/peps/pep-0333.html WSGI], it can run on any WSGI-compatible Web server. Here's how to run Django on various server arrangements.
    46
    5 == Apache with mod_python ==
     7== Apache ==
    68
    7 See the [http://www.djangoproject.com/documentation/modpython/ official documentation].
    8 you can also look at the [wiki:django_apache_and_mod_rewrite] small tutorial.
     9=== Apache with mod_python ===
    910
    10 == Apache with FastCGI ==
     11 * See the [http://www.djangoproject.com/documentation/modpython/ official documentation].
     12 * you can also look at the [wiki:django_apache_and_mod_rewrite] small tutorial.
    1113
    12 See the [http://www.djangoproject.com/documentation/fastcgi/ official documentation].
     14=== Apache with FastCGI ===
    1315
    14 Mac OS X users, see [wiki:OsxFcgi Django with FCGI on OS X].
     16 * See the [http://www.djangoproject.com/documentation/fastcgi/ official documentation].
     17 * Mac OS X users, see [wiki:OsxFcgi Django with FCGI on OS X].
    1518
    16 == lighttpd with Apache ==
     19=== Apache with SCGI ===
    1720
    18 See [http://www.inerciasensorial.com.br/2007/06/10/perils-of-software-development/lighttpd-with-apache/ this page].
     21 * [http://www.mems-exchange.org/software/scgi/ SCGI] can be used with Apache [https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoScgi#preview like this]. It builds on stuff from the Apache+FCGI documentation above.
     22''The material at simon.bofh.ms has been hard to get - server sometimes responds, sometimes not IME.  In any event, #3047 has patches, and seems to be on track to become the official way to do SCGI with Django.''
    1923
    20 == lighttpd with FastCGI ==
     24=== Apache with mod_wsgi ===
    2125
    22 See the [http://www.djangoproject.com/documentation/fastcgi/ official documentation].
     26 * See the [http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango mod_wsgi official docs].
    2327
    24 Django/lighttpd/FastCGI [http://manuals.textdrive.com/read/book/15 instructions for use on TextDrive shared hosting accounts] are also available.
    2528
    26 == Multiple versions with FastCGI ==
     29== lighttpd ==
    2730
    28 See [wiki:MultipleVersionsWithFCGI].
     31=== lighttpd with Apache ===
    2932
    30 == FastCGI init scripts ==
     33 * See [http://www.inerciasensorial.com.br/2007/06/10/perils-of-software-development/lighttpd-with-apache/ this page].
    3134
    32 InitdScriptForLinux
     35=== lighttpd with FastCGI ===
     36
     37 * See the [http://www.djangoproject.com/documentation/fastcgi/ official documentation].
     38 * Django/lighttpd/FastCGI [http://manuals.textdrive.com/read/book/15 instructions for use on TextDrive shared hosting accounts] are also available.
     39
     40=== lighttpd with SCGI ===
     41
     42 * See [http://sayspy.blogspot.com/2006/09/ignorant-newbie-running-django-using.html Running Django using SCGI through LightTPD].
     43
     44== FastCGI ==
     45
     46 * [wiki:MultipleVersionsWithFCGI].
     47 * [wiki:InitdScriptForLinux FastCGI init scripts]
    3348
    3449== Twisted.web2 ==
    3550
    36 See #172.
    37 
    38 == Apache with SCGI ==
    39 
    40 [http://www.mems-exchange.org/software/scgi/ SCGI] can be used with Apache [https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoScgi#preview like this]. It builds on stuff from the Apache+FCGI documentation above.
    41 ''The material at simon.bofh.ms has been hard to get - server sometimes responds, sometimes not IME.  In any event, #3047 has patches, and seems to be on track to become the official way to do SCGI with Django.''
     51 * See #172.
    4252
    4353== nginx ==
    4454
    45 See [http://www.rkblog.rk.edu.pl/w/p/django-nginx/ Django on nginx] and [http://www.alrond.com/en/2007/mar/01/start-django-with-nginx/ Start Django with nginx].
    46 
    47 == lighttpd with SCGI ==
    48 
    49 See [http://sayspy.blogspot.com/2006/09/ignorant-newbie-running-django-using.html Running Django using SCGI through LightTPD].
     55 * See [http://www.rkblog.rk.edu.pl/w/p/django-nginx/ Django on nginx] and [http://www.alrond.com/en/2007/mar/01/start-django-with-nginx/ Start Django with nginx].
    5056
    5157== Django behind/inside Zope ==
     
    6268If that hasn't put you off and you still need CGI, take a look at #2407.
    6369
    64 == WSGI with the !CherryPy Server ==
     70== !CherryPy and WSGI ==
    6571
    66 see [http://xhtml.net/scripts/Django-CherryPy-server-DjangoCerise Run your Django app with the CherryPy server - DjangoCerise].
     72 * See [http://xhtml.net/scripts/Django-CherryPy-server-DjangoCerise Run your Django app with the CherryPy server - DjangoCerise].
    6773
    6874== Django built-in development server ==
    6975
    70 See the [http://www.djangoproject.com/documentation/django_admin/ official documentation].
     76 * Once again, this isn't for production use, but the [http://www.djangoproject.com/documentation/django_admin/ official documentation] may help. Ticket #2996 has a patch to daemonize which may be useful
Back to Top