mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
make packages http config work with either 2.2 or 2.4
This commit is contained in:
@@ -47,9 +47,16 @@ WSGIScriptAlias /packages /usr/share/fedoracommunity/production/apache/fedoracom
|
||||
#</Location>
|
||||
|
||||
<Directory /usr/share/fedoracommunity/>
|
||||
<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>
|
||||
WSGIProcessGroup fedoracommunity
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Directory /var/cache/fedoracommunity/packages/icons/>
|
||||
|
||||
Reference in New Issue
Block a user