Forum Discussion
Andy_Bourke_497
Nimbostratus
Apr 20, 2009Multiple redirects on one VIP
Hi,
We have a virtual server that I've been configuring and I need to write an iRule for some specific functionality.
We have 10 regional sites that all point to one VIP....
Andy_Bourke_497
Nimbostratus
Apr 22, 2009i actually just appended the uri to the switch and added the trailing / to the request - seems to have done the trick so far. dont know if it was the correct thing to do though!
switch [HTTP::host][HTTP::uri] {
"location.webserver.com/" {
HTTP::redirect "http://[HTTP::host]/blah/blah/app/do.pl?region=R1"
log local0. "[IP::client_addr]:[TCP::client_port]: Region1"
}
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