Forum Discussion
Wasim_Hassan_13
Nimbostratus
Oct 10, 2013F5 iRule
Hi,
I have configured my F5 in single arm mode. I have following requirement when user hit the VIP http://192.168.205.151 or http://mycompany it should redirect to full URL Path http://mycompan...
Kevin_Stewart
Employee
Oct 10, 2013Assuming that either IP or name will get you to the VIP, you can probably not worry about evaluating that and just redirect based on the URI value. Example:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "http://mycompany/arsys"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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