Code


Version 8 (modified by hugo <gb@…>, 9 years ago) (diff)

--

Server arrangements

Because Django uses WSGI, it can run on any WSGI-compatible Web server. Here's how to run Django on various server arrangements.

mod_python

See the official documentation.

Apache and FCGI

Flup (the FCGI wrapper used for this) has a little bug with python 2.3 that will make larger pages stall on access just before end. Make sure you use the newest svn checkout for the flup library, as the bug is fixed in there.

See Django, Apache and FCGI. Needs stuff from the lighttpd+FCGI documentation.

lighttpd (via FCGI)

See Hugo's excellent tutorials:

Also see ticket #152.

Twisted

See ticket #172.

TooFPy

See the description in the trac-wiki for how to combine them. TooFPy is a pure-python webserver with focus on the creation of web services.

Apache and SCGI

SCGI can be used with Apache like this. It builds on stuff from the Apache+FCGI documentation above.