Alias /mirrormanager/static /usr/share/mirrormanager/server/mirrormanager/static
Alias /mirrormanager/crawler /var/log/mirrormanager/crawler

WSGISocketPrefix /var/run/mirrormanager/wsgi
WSGIRestrictSignal Off

WSGIDaemonProcess mirrormanager user=mirrormanager group=mirrormanager display-name=mirrormanager maximum-requests=1000 processes=4 threads=1 umask=0007
WSGIPythonOptimize 1

WSGIScriptAlias /mirrormanager /usr/share/mirrormanager/server/mirrormanager.wsgi/mirrormanager

<Directory /usr/share/mirrormanager/server>
    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>
</Directory>

<Directory /var/log/mirrormanager/crawler>
    <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>
</Directory>
