Ticket #11063: 11063.diff
File 11063.diff, 2.2 KB (added by , 16 years ago) |
---|
-
docs/topics/install.txt
26 26 27 27 .. _jython: http://jython.org/ 28 28 29 Install Apache and mod_ python29 Install Apache and mod_wsgi 30 30 ============================= 31 31 32 32 If you just want to experiment with Django, skip ahead to the next … … 34 34 testing, so you won't need to set up Apache until you're ready to 35 35 deploy Django in production. 36 36 37 If you want to use Django on a production site, use Apache with `mod_ python`_.38 mod_ pythonis similar to mod_perl -- it embeds Python within Apache and loads37 If you want to use Django on a production site, use Apache with `mod_wsgi`_. 38 mod_wsgi is similar to mod_perl -- it embeds Python within Apache and loads 39 39 Python code into memory when the server starts. Code stays in memory throughout 40 40 the life of an Apache process, which leads to significant performance gains 41 41 over other server arrangements. Make sure you have Apache installed, with the 42 mod_python module activated. Django requires Apache 2.x and mod_python 3.x. 42 mod_wsgi module activated. Django will work with any version of Apache that 43 supports mod_wsgi. 43 44 44 See :ref:`How to use Django with mod_ python <howto-deployment-modpython>` for45 information on how to configure mod_ pythononce you have it installed.45 See :ref:`How to use Django with mod_wsgi <howto-deployment-modwsgi>` for 46 information on how to configure mod_wsgi once you have it installed. 46 47 47 If you can't use mod_ pythonfor some reason, fear not: Django follows the WSGI_48 If you can't use mod_wsgi for some reason, fear not: Django follows the WSGI_ 48 49 spec, which allows it to run on a variety of server platforms. See the 49 50 `server-arrangements wiki page`_ for specific installation instructions for 50 each platform. 51 each platform. :ref:`mod_python <howto-deployment-modpython>` is also supported. 51 52 52 53 .. _Apache: http://httpd.apache.org/ 53 .. _mod_ python: http://www.modpython.org/54 .. _mod_wsgi: http://code.google.com/p/modwsgi/ 54 55 .. _WSGI: http://www.python.org/peps/pep-0333.html 55 56 .. _server-arrangements wiki page: http://code.djangoproject.com/wiki/ServerArrangements 56 57