From 2ad2af87e5e438f26ae1f26d21d02052f75cc091 Mon Sep 17 00:00:00 2001 From: Martin Krafft Date: Sun, 31 Jan 2010 02:32:45 +0100 Subject: lib/apache2: Add WSGI Handler Patchwork/Django can be run directly with WSGI, which is bound to be faster and less complex than FastCGI. This patch provides the necessary Apache configuration and the WSGI handler, as well as an update to the docs. Since python-flup is deprecated and WSGI supersedes FastCGI, it should be(come) the preferred method. Hence I documented it first. For the xmlrpc interface to work with WSGI, the HTTP authorization information needs to be passed to the WSGI handler. This is done by setting WSGIPassAuthorization On in the apache2 config file snippet. Ref: http://www.arnebrodowski.de/blog/508-Django,-mod_wsgi-and-HTTP-Authentication.html Signed-off-by: martin f. krafft Signed-off-by: Jeremy Kerr --- patchwork.wsgi | 1 + 1 file changed, 1 insertion(+) create mode 120000 patchwork.wsgi (limited to 'patchwork.wsgi') diff --git a/patchwork.wsgi b/patchwork.wsgi new file mode 120000 index 0000000..cf13d18 --- /dev/null +++ b/patchwork.wsgi @@ -0,0 +1 @@ +lib/apache2/patchwork.wsgi \ No newline at end of file -- cgit v1.2.3