Forum Discussion
Jaspreetgurm
Oct 17, 2021Altocumulus
images 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
MVP
You 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
Oct 18, 2021Altocumulus
can you please brief more on this?
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