Forum Discussion
irule - host and uri redirect
here is my irule, any comment on modifying the irule
HTTP_REQUEST { if { ([HTTP::host] equals "abcd.com") and ([HTTP::uri] equals "/") } { HTTP::redirect "http://www.xyz.com/providers/systems/electronic/" } if { ([HTTP::host] equals "abcd.com") and ([HTTP::uri] equals "the-advantage/") } { HTTP::redirect "http://www.xyz.com/providers/systems/for-you" } if { ([HTTP::host] equals "abcd.com") and ([HTTP::uri] equals "featured-financial-app") } HTTP::redirect "http://www.xyz.com/contact" } if { ([HTTP::host] equals "abcd.com") and ([HTTP::uri] equals "featured-test-app") } HTTP::redirect "http://www.xyz.com/test" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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