Forum Discussion
Sam153_178384
Nimbostratus
Dec 08, 2014iRule not working [redirect to different pool]
Hi,
I have VIP in which I have used iRule which redirect one URL to different pool except default. But when I hit URL default pool is being called . Please suggest what is wrong with iRule ?
Her...
Sean_Ellis_9378
Nimbostratus
Dec 09, 2014How about responding back with something to tell you what BIG-IP thinks the Host header is?
when HTTP_REQUEST {
if {[HTTP::header exists "WTF"]} {
HTTP::respond 200 content "HTTP host looks like [HTTP::host] \n" noserver Content-Type text/plain pragma no-cache
TCP::close
return
}
... rest of your code ...
}Then, use curl -H 'WTF: wtf' to get a response.
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