Add forgotten WSGIPassAuthorization directive
authorkaliko <kaliko.jack@azylum.org>
Wed, 27 Feb 2013 21:48:44 +0000 (22:48 +0100)
committerkaliko <kaliko.jack@azylum.org>
Wed, 27 Feb 2013 21:48:44 +0000 (22:48 +0100)
Also add WSGIDaemonProcess and WSGIProcessGroup to get a more complete
apache configuration :)

doc/apache.conf.dist

index 256053b..9fa6377 100755 (executable)
@@ -3,6 +3,17 @@
 #     * you will serve the scrobbler at http://example.org/scs
 #     * you may have create a dedicated virtualenv (w/ django 1.4) in /path/to/venvs/scserver_venv
 
+# WSGI Directives documentation:
+# https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives
+
+# If you’re using Apache & mod_wsgi, you need to enable WSGIPassAuthorization On
+# otherwise mod_wsgi strips out the Authorization header.
+WSGIPassAuthorization On
+
+# Some other WSGI options
+#WSGIDaemonProcess scrobbler user=scuser group=www-data threads=2 display-name=ScrobblerServer
+#WSGIProcessGroup scrobbler
+
 # WSGIScriptAlias is responsible of the location "http://example.org/scs"
 WSGIScriptAlias /scs /path/to/source/scrobblerserver/scrobblerserver/wsgi.py