Enable redirect for the new MM2 publiclist
This commit is contained in:
parent
d8e91732e7
commit
7ead116450
1 changed files with 1 additions and 16 deletions
|
@ -4,10 +4,7 @@
|
|||
{% if env == "staging" %}
|
||||
Redirect /publiclist https://admin.stg.fedoraproject.org/mirrormanager2/
|
||||
{% else %}
|
||||
# Do not enable until mm2 is live
|
||||
#Redirect /publiclist https://admin.fedoraproject.org/mirrormanager2/
|
||||
Alias /mirrorlists /var/lib/mirrormanager/mirrorlists/
|
||||
Alias /publiclist /var/lib/mirrormanager/mirrorlists/publiclist/
|
||||
Redirect /publiclist https://admin.fedoraproject.org/mirrormanager/
|
||||
Alias /static /var/lib/mirrormanager/mirrorlists/static/
|
||||
{% endif %}
|
||||
|
||||
|
@ -50,18 +47,6 @@ WSGIScriptAlias /mirrorlist /usr/share/mirrormanager2/mirrorlist_client.wsgi
|
|||
</IfModule>
|
||||
</Location>
|
||||
|
||||
<Location /publiclist>
|
||||
<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>
|
||||
|
||||
<Location /static>
|
||||
<IfModule mod_authz_core.c>
|
||||
# Apache 2.4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue