karan12_154818
Jul 22, 2014Nimbostratus
I rule for redirection
On one of the HTTPS virtual server,was already using i-rule as below:-
when HTTP_REQUEST { if { [HTTP::uri] contains "xxx" } { node 10.x.x.x%xxx:x } } Now client is asking for redirection of HTTPS url(https://170.x.x.x/analytics) to https://170.x.x.x/analytics/saw.dll?home&startPage=1 also so applied irule as below:-
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/analytics" } { HTTP::redirect "/analytics/saw.dll?home&startPage=1" } }
But on applying this it is getting looped.Can you please suggest is there a way to club both the i-rule or what should be correct i-rule to achieve this.