aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/conf-templates
diff options
context:
space:
mode:
authorKobus van Schoor <10784365+kobus-v-schoor@users.noreply.github.com>2020-08-23 21:10:22 +0200
committerGitHub <noreply@github.com>2020-08-23 21:10:22 +0200
commit7cb562dd0a0ec25a6dd180fae862bb28f435cb42 (patch)
tree549c1dbdee974246aa649f18b810a0bd1a559677 /ihatemoney/conf-templates
parentfa14100b1642f1e10a0a0403d025afabd0370f13 (diff)
downloadihatemoney-mirror-7cb562dd0a0ec25a6dd180fae862bb28f435cb42.zip
ihatemoney-mirror-7cb562dd0a0ec25a6dd180fae862bb28f435cb42.tar.gz
ihatemoney-mirror-7cb562dd0a0ec25a6dd180fae862bb28f435cb42.tar.bz2
Update apache-vhost config generation (#673)
The current configuration generated uses the old syntax for Apache access control. Use the new syntax for Apache 2.4 that is widely used now.
Diffstat (limited to 'ihatemoney/conf-templates')
-rw-r--r--ihatemoney/conf-templates/apache-vhost.conf.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/ihatemoney/conf-templates/apache-vhost.conf.j2 b/ihatemoney/conf-templates/apache-vhost.conf.j2
index e169589..795a05f 100644
--- a/ihatemoney/conf-templates/apache-vhost.conf.j2
+++ b/ihatemoney/conf-templates/apache-vhost.conf.j2
@@ -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/