Mike_Graston_10
Oct 13, 2006Nimbostratus
Multi redirects in Irule
I need to send redirect from an Http site to two different locations. I put toghther this redirect rule and was wondering if it look ok?
when HTTP_REQUEST {
if { [HTTP::uri] contains "/abc"} {
HTTP::redirect "https://myweb.com/abc/"
}
if { [HTTP::uri] contains "/def"} {
HTTP::redirect "https://myweb.com/def"
} else {
pool www-myweb-com-http
}
}