Forum Discussion
Mike_Graston_10
Nimbostratus
Oct 13, 2006Multi 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
}
}
- Mike_Graston_10
Nimbostratus
Thanks, I tried it Saturday and it worked....::D
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects