muzammil_88686
Nimbostratus
Jul 01, 2012Redirecting to a pool
I m having a problem with an iRule.
I m trying to redirect the below "Source" URL to "Destination" URL(NOTE: Here * could be any sub URI)
Source:
=====
http://www.XYZ.com/123/*
Destination:
==========
http://hello.XYZ.com:9090/*
Below is the iRule which I m trying, but unfortunately it is not working.
when HTTP_REQUEST priority 10 {
switch -glob [HTTP::path] {
"/stproxy*" { pool hello_9090_Pool }
}
}
Can anyone help on this?
Best Regards,