From: Loic Dachary Date: Tue, 4 Sep 2012 11:58:53 +0000 (+0200) Subject: Add the /static/horizon alias to the apache host definition. Without X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7be40bfabe4d7dc5f8263093b64e1e7f7dcaf692;p=openstack-build%2Fhorizon-build.git Add the /static/horizon alias to the apache host definition. Without it the javascript files cannot be found and most of the dashboard functions are not working. Rewritten-From: f7c609305db9aba85cdb9a260547df0bb6fdc8de --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 2451460..f3c30aa 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,11 @@ +horizon (2012.1.1-5) unstable; urgency=low + + * Add the /static/horizon alias to the apache host definition. Without + it the javascript files cannot be found and most of the dashboard + functions are not working. + + -- Loic Dachary (OuoU) Tue, 04 Sep 2012 13:47:54 +0200 + horizon (2012.1.1-4) unstable; urgency=high * CVE-2012-3540: added patch: Disallow login redirects to anywhere other than diff --git a/xenial/debian/openstack-dashboard-apache.conf b/xenial/debian/openstack-dashboard-apache.conf index 62646fa..fcb7a9d 100644 --- a/xenial/debian/openstack-dashboard-apache.conf +++ b/xenial/debian/openstack-dashboard-apache.conf @@ -12,6 +12,13 @@ Allow from all + Alias /static/horizon /usr/share/pyshared/horizon/static/horizon + + + Order allow,deny + Allow from all + + Alias /static /usr/share/openstack-dashboard/openstack_dashboard/static