Comment 8 for bug 1451681

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/181095
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=35e47358f0e3567b91da1116120c3c9fd97d8e6c
Submitter: Jenkins
Branch: master

commit 35e47358f0e3567b91da1116120c3c9fd97d8e6c
Author: Thai Tran <email address hidden>
Date: Tue Jul 21 10:45:40 2015 -0700

    Fix bug where WEBROOT is not respected

    The WEB_ROOT setting needs to be respected rather than assuming / as
    the root of the application. Simiarly, we can not assume that STATIC_URL
    is a sub url of the WEB_ROOT. They can be configured as two indepedent url.

    Angular templates are loaded dynamically with Ajax, which requires an
    absolute base path. We define those base paths as angular constants for
    template use and future routing.

    TO TEST, follow directions at:
      http://docs.openstack.org/developer/horizon/topics/settings.html#webroot

    Co-Authored-By: Matt Borland <email address hidden>
    Co-Authored-By: Shaoquan Chen <email address hidden>
    Co-Authored-By: Thai Tran <email address hidden>

    Change-Id: Ifcd459633682edc94b270019ce77e17d64bea22d
    Closes-Bug: #1451681