NameVirtualHost *:80
LoadModule wsgi_module modules/mod_wsgi.so
WSGISocketPrefix /var/run/wsgi

<VirtualHost *:80>
    ServerName copr-fe.cloud.fedoraproject.org

    WSGIPassAuthorization On
    WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=5
    WSGIScriptAlias / /srv/copr-fe/copr/coprs_frontend/application
    WSGIProcessGroup 127.0.0.1

    ErrorLog logs/error_coprs
    CustomLog logs/access_coprs common

    <Directory /srv/copr-fe/copr>
        WSGIApplicationGroup %{GLOBAL}
        Order deny,allow
        Allow from all
    </Directory>
</VirtualHost>
