Forum Discussion
santosh_81454
Nimbostratus
Apr 13, 2010Clarification on HTTP::host
Does HTTP::host understand only the text part of the host or can it resolve its IP address and then check the conditions For Example: If I have the nslookup for domain.com as 20.3...
hoolio
Cirrostratus
Apr 13, 2010Hi Santosh,
HTTP::host returns whatever the client sends in the HTTP host header. If a user accesses http://20.30.40.1/index.htm, then the browser sets the host header to 20.30.40.1. Likewise, if a user accesses http://www.example.com:80/index.htm, then the browser sets the host header to www.example.com:80.
Your iRule should work to select the default pool as long as the client uses a domain name in the host header.
Aaron
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