Update apache-vhost config generation

The current configuration generated uses the old syntax for Apache access control. On a Debian 10 install I recently did this generated config just resulted in an access denied error when using Apache and mod_wsgi. Making the changes in this pull request to my Apache config solved the issue (got the hint looking at Flask's documentation here: https://flask.palletsprojects.com/en/1.1.x/deploying/mod_wsgi/#configuring-apache).
This commit is contained in:
Kobus van Schoor 2020-08-23 20:47:11 +02:00 committed by GitHub
parent fa14100b16
commit 9301f96570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,7 @@
<Directory {{ pkg_path }}>
WSGIProcessGroup ihatemoney
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
Require all granted
</Directory>
Alias /static/ {{ pkg_path }}/static/