← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1434276] [NEW] Setting WEBROOT does not change static paths

 

Public bug reported:

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

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References