components/openstack/horizon/files/openstack-dashboard-http.conf
author Drew Fisher <drew.fisher@oracle.com>
Tue, 18 Mar 2014 09:18:42 -0600
changeset 1765 dabcbc66ca36
child 3998 5bd484384122
child 4156 4b1def16fe9b
permissions -rw-r--r--
18419287 Horizon's Apache fragment causes svc:/network/http:apache22 to error

<IfDefine 64bit>
    LoadModule wsgi_module libexec/64/mod_wsgi-2.6.so
</IfDefine>
<IfDefine !64bit>
    LoadModule wsgi_module libexec/mod_wsgi-2.6.so
</IfDefine>

WSGIScriptAlias /horizon \
    /usr/lib/python2.6/vendor-packages/openstack_dashboard/wsgi/django.wsgi
WSGIDaemonProcess horizon user=webservd group=webservd processes=3 \
    threads=10

Alias /static /var/lib/openstack_dashboard/static/

<Directory /usr/lib/python2.6/vendor-packages/openstack_dashboard/wsgi>
    Order allow,deny
    Allow from all
</Directory>

<Directory /var/lib/openstack_dashboard/static>
    Order allow,deny
    Allow from all
</Directory>