Forum Discussion
Sunny
Nimbostratus
Apr 24, 2017Need Irule for redirection
I am a Newbie for irules need help
I have a request to redirect host --->
Any pointers would be much appreciated.
- Vijay_E
Cirrus
when HTTP_REQUEST { if { ([HTTP::host] eq "www.f5.com") and ([string tolower [HTTP::uri]] eq "/dev") } { HTTP::respond 301 Location "http://www.f5.com/" } }
Try something like the iRule provided above.
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