Forum Discussion
phipse
Mar 03, 2019Altostratus
LTM iRule Reverse Proxy redirect
Hi Guys,
Sorry for the repeat post in advance. I'm trying to configure a reverse proxy (RP) using an iRule, but I can not get it to work. I'm a network engineer by trade, but I love learning this...
- Mar 04, 2019
Phipse,
Have you tried using string map,
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/ucit" } { HTTP::uri [string map {"/ucit/" "/services/"} [HTTP::uri]] pool pool_Node4RP_Reg } else { pool pool_RTS_4400 } }
jaikumar_f5
Mar 04, 2019MVP
Phipse,
Have you tried using string map,
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/ucit" } {
HTTP::uri [string map {"/ucit/" "/services/"} [HTTP::uri]]
pool pool_Node4RP_Reg
} else {
pool pool_RTS_4400
}
}
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