Forum Discussion
eagertolearn
Nimbostratus
Dec 04, 2024Retain the URL on Browser
Hello Team, We have a requirement , where we have to retain the URL on the browser as is , However at the backend (pool member) user hits land on the other URL/URI. For example: Actual URL (hit...
Paulius
MVP
Dec 05, 2024eagertolearn The following iRule should be what you want. I did not put "XYZ" in capitalized letters because I believe the RFC states that the host section will always come across as lower case.
when CLIENT_ACCEPTED priority 500 {
set DEFAULT_POOL [LB::server pool]
}
when HTTP_REQUEST priority 500 {
if {[string tolower [HTTP::host]] == "123.abc.com" } {
HTTP::host [string map {"abc" "xyz"}[HTTP::host]]
pool ${DEFAULT_POOL}
}
}- eagertolearnDec 05, 2024
Nimbostratus
not working
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
