Forum Discussion
jayachandran_38
Nimbostratus
Jan 08, 2019Irule for domain to pool member mapping
Hi
please help me out in writing irule for mapping the domain when we enter the uri "/gateway"
as shown https://preview.infinitiusa.com/gateway then this request should be routed to the 10.36.124....
Stanislas_Piro2
Cumulonimbus
Jan 08, 2019You can use this code:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if {[HTTP::path] equals "/gateway" } {
pool $default_pool member 10.36.124.4 8087
} else {
pool $default_pool
}
}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