Commit 74332bc4 authored by Michal Čihař's avatar Michal Čihař

Update Apache configuration to be compatible with Apache 2.4

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent fe38371c
......@@ -18,23 +18,19 @@ WSGIPythonPath /usr/share/weblate
Alias /static/admin /usr/lib/python2.7/site-packages/django/contrib/admin/static/admin/
<Directory /usr/lib/python2.7/site-packages/django/contrib/admin/static/admin/>
Order deny,allow
Allow from all
Require all denied
</Directory>
<Directory /usr/share/weblate/weblate/media/>
Order deny,allow
Allow from all
Require all denied
</Directory>
<Directory /usr/share/doc/packages/weblate/html/>
Order deny,allow
Allow from all
Require all denied
</Directory>
<Directory /usr/share/weblate/weblate/examples/>
Order deny,allow
Allow from all
Require all denied
</Directory>
WSGIScriptAlias / /usr/share/weblate/weblate/wsgi.py
......@@ -42,8 +38,7 @@ WSGIPythonPath /usr/share/weblate
<Directory /usr/share/weblate/weblate>
<Files wsgi.py>
Order deny,allow
Allow from all
Require all denied
</Files>
</Directory>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment