Forum Discussion
Siddharth_Sezhi
Nimbostratus
Oct 17, 2006pool redirection based on webaddress
Hi,
I have request from a client, they wanted all traffic thats coming to their site https://www.deve.com redirected to a pool and the traffic to https://deve.com redirected to another pool. they wanted a same VIP pointing to both webaddress. Kindly help me out.
Thanks in advance.
Regards
Siddharth S
- hoolio
Cirrostratus
If you want to direct the requests based on the HTTP host header, you can use a rule like this:when HTTP_REQUEST { set host [string tolower [HTTP::host]] if { $host ends_with "deve.com" }{ if { $host == "www.deve.com" }{ pool www.deve.com_pool } elseif { $host == "deve.com" }{ pool deve.com_pool } } else { pool default_pool } }
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