LoadModule wsgi_module libexec/mod_wsgi-2.7.so

<VirtualHost *:80>
    WSGIScriptAlias /horizon \
        /usr/lib/python2.7/vendor-packages/openstack_dashboard/wsgi/django.wsgi
    WSGIDaemonProcess horizon user=webservd group=webservd processes=3 \
        threads=10

    Alias /horizon/static /usr/lib/python2.7/vendor-packages/openstack_dashboard/static/

    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>

    <Directory /usr/lib/python2.7/vendor-packages/openstack_dashboard/static>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Require all granted
    </Directory>

    <Directory /usr/lib/python2.7/vendor-packages/openstack_dashboard/wsgi>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Require all granted
    </Directory>

    ErrorLog "|/usr/bin/rotatelogs -n 3 \
        /var/log/openstack_dashboard/horizon_error.log 50M"
    LogLevel warn
    CustomLog "|/usr/bin/rotatelogs -n 3 \
        /var/log/openstack_dashboard/horizon_access.log 50M" combined
</VirtualHost>
