]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Add the /static/horizon alias to the apache host definition. Without
authorLoic Dachary <loic@dachary.org>
Tue, 4 Sep 2012 11:58:53 +0000 (13:58 +0200)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Sep 2012 11:58:53 +0000 (13:58 +0200)
    it the javascript files cannot be found and most of the dashboard
    functions are not working.

Rewritten-From: f7c609305db9aba85cdb9a260547df0bb6fdc8de

xenial/debian/changelog
xenial/debian/openstack-dashboard-apache.conf

index 245146048f0e9e45b248ca5d7bd50cefd9a9eb1a..f3c30aa5f24f12835b70bf117b221a3906b4c7f2 100644 (file)
@@ -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) <loic@debian.org>  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
index 62646fa7caed0eab0bc2dfbeb2a043a163491d22..fcb7a9d361ce63762d58e510f8ae8e52c0d32da3 100644 (file)
         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/>