Forum Discussion
Ajmal_2608
Jan 24, 2013Nimbostratus
The redirect works with following code but for the 1st time I have to enter the URL without /one or /two and once a session is established, the redirection works, however it doesn't help as the traffic goes to a the node to which persistence had been made.
"/one*" {
if {[HTTP::uri] equals {/one}} {HTTP::uri {/Sitea/Web/Main/login.html}
use pool sitea-app-pool-breakdown-testing member 10.12.159.60 8180
}
}
"/two*" {
if {[HTTP::uri] equals {/two}} {HTTP::uri {/Sitea/Web/Main/login.html}
use pool sitea-app-pool member 10.12.159.61 8180
}
}