← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1434276] Re: Setting WEBROOT does not change static paths

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1434276

Title:
  Setting WEBROOT does not change static paths

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  setting WEBROOT  as per commit
  2a772d64800070689478a49b6aa26a5893b2067b  only changes the paths for
  the dynamic pages.

  
  I tried just adding STATIC_URL = WEBROOT + 'static/'  in 
  /opt/stack/horizon/openstack_dashboard/local/local_settings.py  But apache remoes the /dashboard/ portion and the result was 404.

  
  In order to make the static pages (such as CSS) appear, I had to add the following to /etc/httpd/conf.d/horizon.conf

      Alias /dashboard/static /opt/stack/horizon/static

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1434276/+subscriptions


References