Forum Discussion
falooda_281506
Nimbostratus
Sep 19, 2016irule pool
Any traffic that goes to the IIS pool should go to node_address/ADMIN URI in my pool... how would I update this? Below is the iRule I am currently using:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] ends_with "test.com" and ([HTTP::uri] == "" or [HTTP::uri]== "/")} {
pool IIS
} else {
pool AAP
}
}
5 Replies
- ekaleido
Cirrus
when HTTP_REQUEST { if { [string tolower [HTTP::host]] ends_with "test.com" and ([HTTP::uri] == "" or [HTTP::uri]== "/")} { [HTTP::uri] "/ADMIN" pool IIS } else { pool AAP } }- falooda_281506
Nimbostratus
That did not work :(
- ekaleido_26616
Cirrocumulus
when HTTP_REQUEST { if { [string tolower [HTTP::host]] ends_with "test.com" and ([HTTP::uri] == "" or [HTTP::uri]== "/")} { [HTTP::uri] "/ADMIN" pool IIS } else { pool AAP } }- falooda_281506
Nimbostratus
That did not work :(
- Vijay_E
Cirrus
Try this:
when HTTP_REQUEST { if { [string tolower [HTTP::host]] ends_with "test.com" and ([HTTP::uri] == "" or [HTTP::uri]== "/")} { HTTP::uri "/ADMIN" pool IIS } else { pool AAP } }
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