Dear All,
I Want to achieve below scenario in my environment,
I have four virtual servers A, B, C, D initially all request hit on VS "A" when users typer mbanking.abc.com in their browser then they will hit "A", but if users typer mbanking.abc.com/abc they will redirect to VS "B" and if thy type mbanking.abc.com/pqr the request will redirect to "D"
I hev below iRule with me
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/xyz" } {
virtual server B
} else {
if { [HTTP::uri] starts_with "/pqr" } {
virtual server B
} else {
Virtual server A
}
}
will the above iRule work or-else i have do do modifications in it
Regards,
Ashihs Takawale.