Forum Discussion
Jaspreetgurm
Altocumulus
Oct 17, 2021images is not loading correctly
Images is not loading the page sitting behind F5 LTM see error below. Virtual server is setup with 2 pool memebers. SSL offloading profile is setup on LTM below irule also configu...
jaikumar_f5
Noctilucent
Oct 18, 2021You can simply tweak this part, so it matches your requirement.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/gamification" } {
HTTP::uri [string map -nocase {"/gamification/" "/"} [HTTP::uri]]
}
}Explanation:
set newuri [string map -nocase {"/gamification" ""} $uri]Will give you "_uploads/header.jpg"
But being specific like below,
set newuri [string map -nocase {"/gamification/" "/"} $uri]Will give you "/gamification_uploads/header.jpg"
Hope it explains.
Jaspreetgurm
Altocumulus
Oct 19, 2021I tried the above suggestion and I got blank page.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects