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>
|
#</Location>
|
||||||
|
|
||||||
<Directory /usr/share/fedoracommunity/>
|
<Directory /usr/share/fedoracommunity/>
|
||||||
WSGIProcessGroup fedoracommunity
|
<IfModule mod_authz_core.c>
|
||||||
|
# Apache 2.4
|
||||||
|
Require all granted
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
# Apache 2.2
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Allow from all
|
Allow from all
|
||||||
|
</IfModule>
|
||||||
|
WSGIProcessGroup fedoracommunity
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /var/cache/fedoracommunity/packages/icons/>
|
<Directory /var/cache/fedoracommunity/packages/icons/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue