Details
Description
Rewrite html body content so web interfaces can be proxy through Knox.
The root name and deployment can be obtained through API.
This would apply for tags that may have reference attributes such as "href" or "src".
There are 3 cases for URL references:
1. Relative URLs . They not need to be re-written.
2. Absoluted URLs without hostname. They need to be rewritten to include
/${ROOT_TAG}/${DEPLOYMENT}/
3. Absolute URL's with hostname. If hostname outside cluster may not need to be rewritten. If inside the cluster they may need to be re-written.
Some initial code seems to be already at gateway-provuder-rewrite,
/src/main/java/org/apache/hadoop/gateway/filter/rewrite/impl/html
Attachments
Issue Links
- is related to
-
KNOX-565 Supporting All the Quick Links on Ambari Dashboard to Go Through Knox
- Closed