[PATCH] Configure WSGI to pass HTTP authorization
martin f. krafft
madduck at madduck.net
Fri Feb 5 13:18:42 EST 2010
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 <madduck at madduck.net>
---
lib/apache2/patchwork.wsgi.conf | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/apache2/patchwork.wsgi.conf b/lib/apache2/patchwork.wsgi.conf
index 3e81435..03825b8 100644
--- a/lib/apache2/patchwork.wsgi.conf
+++ b/lib/apache2/patchwork.wsgi.conf
@@ -16,3 +16,4 @@
</IfModule>
WSGIScriptAlias / "/srv/patchwork/patchwork.wsgi"
+WSGIPassAuthorization On
--
1.6.5
More information about the Patchwork
mailing list