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

Kevin Minder updated KNOX-473:
------------------------------
    Description: 
Given the amount of URL rewriting that Knox does both in headers and in 
response content it may not be practical to configure load balancers to do the 
same level or rewriting to redirect the use of those URLs back through the load 
balancer.  Therefore it should be possible to configure Knox with the URL that 
should be used during rewriting so that it can rewrite the URLs with the 
correct "frontend" URL so that the load balancer does not have to do any 
rewriting.

This patch adds a configuration setting to gateway-site.xml
{code}
    <property>
        <name>gateway.frontend.url</name>
        <value>http://localhost/gateway</value>
    </property>
{code}

  was:Given the amount of URL rewriting that Knox does both in headers and in 
response content it may not be practical to configure load balancers to do the 
same level or rewriting to redirect the use of those URLs back through the load 
balancer.  Therefore it should be possible to configure Knox with the URL that 
should be used during rewriting so that it can rewrite the URLs with the 
correct "frontend" URL so that the load balancer does not have to do any 
rewriting.


> Configurable front end URL for simplified load balancer configuration
> ---------------------------------------------------------------------
>
>                 Key: KNOX-473
>                 URL: https://issues.apache.org/jira/browse/KNOX-473
>             Project: Apache Knox
>          Issue Type: New Feature
>          Components: Server
>    Affects Versions: 0.5.0
>            Reporter: Kevin Minder
>            Assignee: Kevin Minder
>             Fix For: 0.6.0
>
>         Attachments: KNOX-473.patch
>
>
> Given the amount of URL rewriting that Knox does both in headers and in 
> response content it may not be practical to configure load balancers to do 
> the same level or rewriting to redirect the use of those URLs back through 
> the load balancer.  Therefore it should be possible to configure Knox with 
> the URL that should be used during rewriting so that it can rewrite the URLs 
> with the correct "frontend" URL so that the load balancer does not have to do 
> any rewriting.
> This patch adds a configuration setting to gateway-site.xml
> {code}
>     <property>
>         <name>gateway.frontend.url</name>
>         <value>http://localhost/gateway</value>
>     </property>
> {code}



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

Reply via email to