RANGER-5122: fixed path for images
What changes were proposed in this pull request?
Load images from the correct path. This bug appears only when context path of the ranger web app is changed to something else than the default root (/).
Also updated setup.sh to allow changing the "ranger.contextName" from install.properties.
Fixes RANGER-5122.
How was this patch tested?
Tested manually.
@developster such type of fix is not required, as only Ranger application is executed from Ranger Embedded Tomcat and Ranger server uses dedicated port to run.
This will force every user to change their Ranger Admin urls getting used for communicating to Ranger Rest APIs.
However this fix is breaking Ranger Admin url while accessing it with Knox gateway.
cc @pradeepagrawal8184 / @mneethiraj / @kumaab
Hi @fimugdha,
I've been working on accessing the Ranger Admin UI through a common domain. While I was able to reach the UI at example.com/ranger, the issue @developster highlighted is affecting the admin UI, as shown below.
@jesbinjoseph for now, you can try using a subdomain (like ranger.example.com) to avoid this issue.