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

Jaimin Jetly updated KNOX-1556:
-------------------------------
    Description: 
This issue was seen with Ambari branch-2.7 being targeted for Ambari-2.7.3 when 
used behind Knox gateway.

Both Ambari favicon 
([link|https://github.com/hortonworks/ambari/blob/apache-ref/branch-2.7/ambari-web/app/assets/index.html#L39])
 and Notice.txt file 
([link|https://github.com/hortonworks/ambari/blob/apache-ref/branch-2.7/ambari-web/app/assets/index.html#L49])
 are referenced with relative path as href value from index.html of ambari-web.

Any static ui resource that is being reference with a relative path needs to 
have rewrite rules in knox, So that relative path remains legitimate even when 
component is behind knox gateway.

This patch adds rewrite rules for these two items. 

> [Rewrite Rule] Apache Ambari Favicon and link to NOTICE.txt does not work 
> when using Knox Gateway
> -------------------------------------------------------------------------------------------------
>
>                 Key: KNOX-1556
>                 URL: https://issues.apache.org/jira/browse/KNOX-1556
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: Jaimin Jetly
>            Assignee: Jaimin Jetly
>            Priority: Major
>             Fix For: 1.2.0
>
>         Attachments: KNOX-1556.trunk.patch
>
>
> This issue was seen with Ambari branch-2.7 being targeted for Ambari-2.7.3 
> when used behind Knox gateway.
> Both Ambari favicon 
> ([link|https://github.com/hortonworks/ambari/blob/apache-ref/branch-2.7/ambari-web/app/assets/index.html#L39])
>  and Notice.txt file 
> ([link|https://github.com/hortonworks/ambari/blob/apache-ref/branch-2.7/ambari-web/app/assets/index.html#L49])
>  are referenced with relative path as href value from index.html of 
> ambari-web.
> Any static ui resource that is being reference with a relative path needs to 
> have rewrite rules in knox, So that relative path remains legitimate even 
> when component is behind knox gateway.
> This patch adds rewrite rules for these two items. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to