You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/09 02:26:28 UTC

[jira] [Updated] (STORM-93) Storm UI breaks when proxied

     [ https://issues.apache.org/jira/browse/STORM-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-93:
------------------------------
    Component/s: storm-core

> Storm UI breaks when proxied
> ----------------------------
>
>                 Key: STORM-93
>                 URL: https://issues.apache.org/jira/browse/STORM-93
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-core
>            Reporter: James Xu
>            Priority: Minor
>
> The Storm UI doesn't render properly when placed behind a proxy. The UI uses absolute paths to refer to it's stylesheets and JavaScript. As a result, unless you proxy it from the root URL it will fail to load properly. Ideally, the Storm UI resources would refer to relative locations.
> For example: In our case, we proxy the UI under /storm. Unfortunately the Storm UI refers to /css/style.css instead of /storm/css/style.css.
> Possible solution:
> In the https://github.com/nathanmarz/storm/blob/24106aa13ded590c0d9ab747d8bf1a149414244a/src/clj/backtype/storm/ui/core.clj#L40 an additional parameter for "depth" could passed that provides the proper number of ../ in front of the resource path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)