ranger icon indicating copy to clipboard operation
ranger copied to clipboard

RANGER-5122: fixed path for images

Open developster opened this issue 11 months ago • 3 comments

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 avatar Jan 29 '25 11:01 developster

@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

fimugdha avatar Jan 30 '25 11:01 fimugdha

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.

image

jesbinjoseph avatar May 30 '25 12:05 jesbinjoseph

@jesbinjoseph for now, you can try using a subdomain (like ranger.example.com) to avoid this issue.

developster avatar May 30 '25 13:05 developster