diff --git a/templates/icehouse/local_settings.py b/templates/icehouse/local_settings.py index db87f11f..d4350a4f 100644 --- a/templates/icehouse/local_settings.py +++ b/templates/icehouse/local_settings.py @@ -508,6 +508,8 @@ except ImportError: pass {% endif %} +WEBROOT = '{{ webroot }}' + # Default Ubuntu apache configuration uses /horizon as the application root. # Configure auth redirects here accordingly. {% if webroot == "/" %} diff --git a/templates/icehouse/openstack-dashboard.conf b/templates/icehouse/openstack-dashboard.conf index 8e646216..8e61975d 100644 --- a/templates/icehouse/openstack-dashboard.conf +++ b/templates/icehouse/openstack-dashboard.conf @@ -5,6 +5,7 @@ WSGIProcessGroup horizon WSGIPythonHome {{ virtualenv }} {% endif %} Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static/ +Alias /horizon/static /usr/share/openstack-dashboard/openstack_dashboard/static/ Order allow,deny Allow from all