Forum Discussion
dyobbs_25515
Feb 03, 2012Nimbostratus
iRule to redirect a variable to http
Guys hi,
I'm newbie here. I wanted to create an iRule, that truncates the later part of the message from the "http://.acme.com" to http://
any help is appreciated.
Will t...
nitass
Feb 13, 2012Employee
How to use it in web console....?oh sorry i just noticed i forgot to post the irule.
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
HTTP::redirect "http://dev-sorry-webarch.xyz.com"
}
}
to create irule, go to local traffic > irules > irule list, create and copy-and-paste the irule above.
to assign irule to virtual server, go to local traffic > virtual servers > virtual-server-name > resource (2nd tab) > irules, manages and enable the created irule.
hope this helps.
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