Forum Discussion
Reginald_Sible1
Nimbostratus
Oct 15, 2015iRule to hit a specific webserver instance directly
I'm creating an iRule to allow the Ops guys to hit a specific webstore instance directly, by appending a query string to the first page hit, which will then set the proper session cookie to persist o...
Stanislas_Piro2
Cumulonimbus
Oct 15, 2015Hi,
you can try this one:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
set target_member [URI::query [HTTP::uri] server]
if {!($target_member eq "")} {
pool $default_pool member $target_member
HTTP::uri [tring map -nocase [list "&server=$target_member" "" ] [HTTP::uri]]
}
}
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