Forum Discussion
SS11
Nimbostratus
Jul 04, 2019Add URI in the HTTP Header Replace
We have a request to replace a host header when the pool member is up and URI need to add in the HTTP Header Replace "xyz.com" {
if { [active_members test123_pool] > 0 } {
pool test123_pool
HT...
Lee_Sutcliffe
Nacreous
Jul 04, 2019If you want to replace the host xyz.com with abc.com and change the URI to /itsupport, then this iRule snippet is fine.
Not sure exactly what you mean by "URI need to add in the HTTP Header Replace".
So can't say for certain is the iRule does what you intend.
SS11
Nimbostratus
Jul 05, 2019If the host matches XYZ then host header need to replace with abc and isupport need to add as a URI
"xyz.com" - "abc.com/isupport"
"xyzc.com/test" - "abc.com/isupport"
- Lee_SutcliffeJul 05, 2019
Nacreous
In that case your iRule is fine
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