# Apache configuration file for mirrormanager2

Alias /mirrormanager/static /usr/lib/python2.7/site-packages/mirrormanager2/static/fedora/
Alias /mirrormanager/crawler /var/log/mirrormanager/crawler

WSGIDaemonProcess mirrormanager user=apache maximum-requests=1000 display-name=mirrormanager processes=2 threads=2
WSGISocketPrefix run/wsgi
WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1

WSGIScriptAlias /mirrormanager /var/www/mirrormanager2.wsgi

<Location />
    WSGIProcessGroup mirrormanager
    <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>
