Almassud_221797
Dec 05, 2015Cirrus
redirect based on source ip subnet to another website.
hi all, I am working with irule and it would work find when HTTP::redirect "http://www.google.com[HTTP::uri]" with reject, however I am not even able to save it the way it is below.
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals DataGroupList] } { HTTP::redirect "http://www.google.com[HTTP::uri]" } }
can anyone tell me what am I doing wrong? or better, tell me what to do so that this irule would work?
all comments and replies are much appreciated.
MJ