Comment 2 for bug 1062171

Revision history for this message
YunQiang Su (wzssyqa) wrote :

consider to write one like the Debian one

<VirtualHost *:8080>
    WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
    WSGIDaemonProcess openstack-dashboard user=horizon group=horizon
    WSGIProcessGroup openstack-dashboard

    <Directory />
        AllowOverride None
    </Directory>

    <Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi/>
        Order allow,deny
        Allow from all
    </Directory>

    Alias /static/horizon /usr/share/pyshared/horizon/static/horizon

    <Directory /usr/share/pyshared/horizon/static/horizon>
        Order allow,deny
        Allow from all
    </Directory>

    Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static

    <Directory /usr/share/openstack-dashboard/openstack_dashboard/static/>
 Order allow,deny
 Allow from all
    </Directory>

</VirtualHost>