From f0d09c7ad846a02c4d5d99bfe412b0ba35164150 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 9 Sep 2008 13:05:51 +1000 Subject: Pass Authorization headers in fastcgi application By default, mod_fcgi doens't allow the Authorization header, so enable -pass-header, and handle the different header name in the xmlrpc view Signed-off-by: Jeremy Kerr --- lib/apache2/patchwork.fastcgi.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/apache2') diff --git a/lib/apache2/patchwork.fastcgi.conf b/lib/apache2/patchwork.fastcgi.conf index 78d8147..a739164 100644 --- a/lib/apache2/patchwork.fastcgi.conf +++ b/lib/apache2/patchwork.fastcgi.conf @@ -4,7 +4,7 @@ NameVirtualHost patchwork.example.com:80 Alias /media/ /srv/patchwork/lib/python/django/contrib/admin/media/ - FastCGIExternalServer /srv/patchwork/htdocs/patchwork.fcgi -socket /srv/patchwork/var/fcgi.sock + FastCGIExternalServer /srv/patchwork/htdocs/patchwork.fcgi -socket /srv/patchwork/var/fcgi.sock -pass-header Authorization RewriteEngine On RewriteCond %{REQUEST_URI} !^/(images|css|js|media)/.* -- cgit v1.2.3