make packages http config work with either 2.2 or 2.4
This commit is contained in:
parent
1b76c99aff
commit
4a8eec62f2
1 changed files with 9 additions and 2 deletions
|
@ -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/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue