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 sup...
dennypayne
Employee
Jun 19, 2009When you say "just the fqdn" do you mean when the URI is blank (/) or whenever that domain is requested regardless of the URI?
If the former, then
when HTTP_REQUEST {
if { ([HTTP::host] eq "www.domain.com") && ([HTTP::uri] eq "/") } {
pool pool1
}
}
Otherwise, just looking at the HTTP::host should suffice.
Denny
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