Forum Discussion
iRule not going to pool
try to put some logs on the Irule to see the data. May be the server is redirecting your session and not the bigip. Also If the server is asking you to login you are getting new URI. The new page may not have LEAD or INV in the URL and this will triger the redirect after you hit enter to login.
when HTTP_REQUEST { if {([HTTP::header User-Agent] contains "iPhone") or ([HTTP::header User-Agent] contains "iPod")} { if {([HTTP::uri] contains "LEAD") or ([HTTP::uri] contains "INV")} { log local0.alert "Accessing the pool" log local0.alert "HTTP::header User-Agent= [HTTP::header User-Agent]" log local0.alert "HTTP::uri= [HTTP::uri]"
pool vspool
} else {
log local0.alert "Redirection is being done by BIGIP"
log local0.alert "HTTP::header User-Agent= [HTTP::header User-Agent]"
log local0.alert "HTTP::uri= [HTTP::uri]"
HTTP::redirect http://www.mysite.com
}
} }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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