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...
xuwen
Cumulonimbus
string map will replace all the string if it contains "/gamification", you need use regsub to replace first /gamification:
11 % set uri "/gamification/gamification_uploads/header.jpg"
/gamification/gamification_uploads/header.jpg
(bin) 12 % string map -nocase {"/gamification" ""} $uri
_uploads/header.jpg
(bin) 13 % set uri
/gamification/gamification_uploads/header.jpg
(bin) 14 % regsub -nocase "/gamification" $uri "" new_uri
1
(bin) 15 % set new_uri
/gamification_uploads/header.jpg
Jaspreetgurm
Oct 19, 2021Altocumulus
didn't worked... can you please explain more
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