
We can't log into storyboard right now because we never told wsgi to forward the Authorization header. This fixes that. For more information: https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPassAuthorization Change-Id: Ibf8fb17569e7bb249801a8bd6971d0aa0f3ecaac
19 lines
768 B
Plaintext
19 lines
768 B
Plaintext
<VirtualHost *:80>
|
|
DocumentRoot /var/lib/storyboard/www
|
|
ErrorLog /var/log/apache2/storyboard-error.log
|
|
CustomLog /var/log/apache2/storyboard-access.log common
|
|
|
|
WSGIDaemonProcess storyboard user=storyboard group=storyboard threads=5 python-path=/usr/local/lib/python2.7/dist-packages
|
|
WSGIScriptAlias /api /usr/local/lib/python2.7/dist-packages/storyboard/api/app.wsgi
|
|
WSGIPassAuthorization On
|
|
|
|
# The app.wsgi file has to be accessible by apache. It won't
|
|
# be visible to clients because of the DocumentRoot though.
|
|
<Directory /usr/local/lib/python2.7/dist-packages/storyboard/>
|
|
WSGIProcessGroup storyboard
|
|
WSGIApplicationGroup %{GLOBAL}
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
</VirtualHost>
|