Forum Discussion
phipse
Altostratus
Mar 09, 2017iRule not hitting default pool?
Hi Guys,
I have created an iRule to select a pool based on the URL the user goes to.
testurl.com goes to pool_group1
testurl.com/diagnostics/* goes to pool_group2
The testurl.com/diagn...
Hectorm
Nimbostratus
Mar 09, 2017add the following to the irule to see what are we getting back from the server
when HTTP_RESPONSE {
log local0.debug "server Status respose [HTTP::status] if you get 301 or 302 is a redirect, 4XX are authentication and page not found, 200 good respose from the server"
log local0.debug "Http::header [HTTP::header names ] "
log local0.debug "header location [HTTP::header Location]"
}
phipse
Altostratus
Mar 10, 2017I've added this iRule and receive the following in the logs.
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