Raj_Zucre_Ramir
Feb 10, 2011Nimbostratus
Redirect uri /raj to same pool but with different port
Hi,
Please help:
www.testrule.com = pool_abc:1245
www.testrule.com/raj = pool_abc:9876
Then I created this irule and applied to www.testrule.com VS:
when HTTP_REQUEST {
if { [HTTP::uri] contains "/raj" } {
pool pool_abc:9876
} else {
pool pool_abc:1245
}
}
but it's not working.
Is this correct? Am I missng anything with rgards to server port? Could you please help me?
Thanks!
Raj