diff mbox

Configure WSGI to pass HTTP authorization

Message ID 1265336322-26816-1-git-send-email-madduck@madduck.net
State Rejected, archived
Headers show

Commit Message

Martin Krafft Feb. 5, 2010, 2:18 a.m. UTC
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@madduck.net>
 lib/apache2/patchwork.wsgi.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox


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 @@ 
 WSGIScriptAlias / "/srv/patchwork/patchwork.wsgi"
+WSGIPassAuthorization On