Forum Discussion
Mike_Wethington
Nimbostratus
Jun 19, 2009Pool redirect of www.domain.com
I need to send traffic for a domain to a certain pool but only if it contains just the fqdn i.e. http://www.domain.com. Can someone give me a little bit of help on this? Thanks in advance for your support.
- dennypayne
Employee
When you say "just the fqdn" do you mean when the URI is blank (/) or whenever that domain is requested regardless of the URI?when HTTP_REQUEST { if { ([HTTP::host] eq "www.domain.com") && ([HTTP::uri] eq "/") } { pool pool1 } }
- hoolio
Cirrostratus
You could also use an HTTP class to filter based on the host header and/or URI in 9.4 or higher. - Mike_Wethington
Nimbostratus
yes, no uri. I will give this a shot thanks for your help.
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