Enable basic auth passthrough for API (#303)

* Enable basic auth passthrough for API

Added the couple of apache configuration lines necessary to get the basic authentication working for the API.

* Revert the addition of "AuthType Basic"

Did some more testing on my server here and I totally agree, don't need "AuthType Basic".
This commit is contained in:
donkers 2018-01-05 22:32:46 +11:00 committed by 0livd
parent c002cdbf94
commit 4ab8863eb2

View file

@ -4,6 +4,7 @@
WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path={{ pkg_path }} {% if venv_path %}python-home={{ venv_path }}{% endif %} WSGIDaemonProcess ihatemoney user=www-data group=www-data threads=5 python-path={{ pkg_path }} {% if venv_path %}python-home={{ venv_path }}{% endif %}
WSGIScriptAlias / {{ pkg_path }}/wsgi.py WSGIScriptAlias / {{ pkg_path }}/wsgi.py
WSGIPassAuthorization On
ErrorLog /var/log/apache2/ihatemoney.example.com_error.log ErrorLog /var/log/apache2/ihatemoney.example.com_error.log
CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined CustomLog /var/log/apache2/ihatemoney.example.com_access.log combined