Commit a9b08678 authored by Michal Čihař's avatar Michal Čihař

Fix Apache configuration for static files

Fixes #978
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 8cdcebc9
......@@ -807,7 +807,7 @@ mod_wsgi (available as :file:`examples/apache.conf`):
:language: apache
This configuration is for Apache 2.4 and later. For earlier versions of Apache,
replace `Require all denied` with `Allow from all`.
replace `Require all granted` with `Allow from all`.
Sample configuration for nginx
++++++++++++++++++++++++++++++
......
......@@ -13,7 +13,7 @@ WSGIPythonPath /usr/share/weblate
Alias /weblate/static/ /usr/share/weblate/data/static/
<Directory /usr/share/weblate/data/static/>
Require all denied
Require all granted
</Directory>
WSGIScriptAlias /weblate /usr/share/weblate/weblate/wsgi.py
......@@ -21,7 +21,7 @@ WSGIPythonPath /usr/share/weblate
<Directory /usr/share/weblate/weblate>
<Files wsgi.py>
Require all denied
Require all granted
</Files>
</Directory>
......
......@@ -14,7 +14,7 @@ WSGIPythonPath /usr/share/weblate
Alias /static/ /usr/share/weblate/data/static/
<Directory /usr/share/weblate/data/static/>
Require all denied
Require all granted
</Directory>
WSGIScriptAlias / /usr/share/weblate/weblate/wsgi.py
......@@ -22,7 +22,7 @@ WSGIPythonPath /usr/share/weblate
<Directory /usr/share/weblate/weblate>
<Files wsgi.py>
Require all denied
Require all granted
</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