Add a Location tag for static
For every alias, you need to have either a Directory or a Location that matches it. Source: https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration Upstream PR: https://github.com/fedora-infra/mirrormanager2/pull/41 Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
ad0f091abb
commit
741c799473
1 changed files with 12 additions and 0 deletions
|
@ -52,3 +52,15 @@ WSGIScriptAlias /mirrorlist /usr/share/mirrormanager2/mirrorlist_client.wsgi
|
||||||
Allow from all
|
Allow from all
|
||||||
</IfModule>
|
</IfModule>
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
<Location /static>
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
# Apache 2.4
|
||||||
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
# Apache 2.2
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
</IfModule>
|
||||||
|
</Location>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue