Changeset 3210
- Timestamp:
- 06/26/06 07:43:21 (2 years ago)
- Files:
-
- django/trunk/docs/faq.txt (modified) (1 diff)
- django/trunk/docs/fastcgi.txt (modified) (2 diffs)
- django/trunk/docs/modpython.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/faq.txt
r3159 r3210 302 302 ---------------------------- 303 303 304 Not if you just want to play around and develop things on your local computer. 305 Django comes with its own Web server, and things should Just Work. 306 307 For production use, though, we recommend mod_python. The Django developers have 308 been running it on mod_python for several years, and it's quite stable. 309 310 However, if you don't want to use mod_python, you can use a different server, 311 as long as that server has WSGI_ hooks. See the `server arrangements wiki page`_. 304 Although we recommend mod_python for production use, you don't have to use it, 305 thanks to the fact that Django uses an arrangement called WSGI_. Django can 306 talk to any WSGI-enabled server. The most common non-mod_python deployment 307 setup is FastCGI. See `How to use Django with FastCGI`_ for full information. 308 309 Also, see the `server arrangements wiki page`_ for other deployment strategies. 310 311 If you just want to play around and develop things on your local computer, use 312 the development Web server that comes with Django. Things should Just Work. 312 313 313 314 .. _WSGI: http://www.python.org/peps/pep-0333.html 315 .. _How to use Django with FastCGI: http://www.djangoproject.com/documentation/fastcgi/ 314 316 .. _server arrangements wiki page: http://code.djangoproject.com/wiki/ServerArrangements 315 317 django/trunk/docs/fastcgi.txt
r3209 r3210 3 3 ============================== 4 4 5 Although the current preferred setupfor running Django is Apache_ with5 Although the `current preferred setup`_ for running Django is Apache_ with 6 6 `mod_python`_, many people use shared hosting, on which FastCGI is the only 7 7 viable option. In some setups, FastCGI also allows better security -- and, … … 18 18 persistent process. 19 19 20 .. _current preferred setup: http://www.djangoproject.com/documentation/modpython/ 20 21 .. _Apache: http://httpd.apache.org/ 21 22 .. _mod_python: http://www.modpython.org/ django/trunk/docs/modpython.txt
r2866 r3210 11 11 other server arrangements. 12 12 13 Django requires Apache 2.x and mod_python 3.x. 14 15 We recommend you use Apache's `prefork MPM`_, as opposed to the `worker MPM`_. 13 Django requires Apache 2.x and mod_python 3.x, and you should use Apache's 14 `prefork MPM`_, as opposed to the `worker MPM`_. 15 16 You may also be interested in `How to use Django with FastCGI`_. 16 17 17 18 .. _Apache: http://httpd.apache.org/ … … 20 21 .. _prefork MPM: http://httpd.apache.org/docs/2.2/mod/prefork.html 21 22 .. _worker MPM: http://httpd.apache.org/docs/2.2/mod/worker.html 23 .. _How to use Django with FastCGI: http://www.djangoproject.com/documentation/fastcgi/ 22 24 23 25 Basic configuration
