You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2020/03/03 13:19:03 UTC

[GitHub] [knox] risdenk commented on a change in pull request #276: KNOX-2258: Add rewrite rule to fix livy redirect issue

risdenk commented on a change in pull request #276: KNOX-2258: Add rewrite rule to fix livy redirect issue
URL: https://github.com/apache/knox/pull/276#discussion_r387011789
 
 

 ##########
 File path: gateway-service-definitions/src/main/resources/services/livy/0.4.0/service.xml
 ##########
 @@ -24,7 +24,9 @@
     </metadata>
   <routes>
     <route path="/livy/**?**"/>
-    <route path="/livy"/>
+    <route path="/livy">
+        <rewrite apply="LIVYSERVER/livy/outbound/headers/ui" to="response.headers"/>
 
 Review comment:
   I think you want this to apply to the route after this as well. `/livy/`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services