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.30.40.1
and the Irule in place is as below:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host][HTTP::uri]] {
"*domain.com/images/*" { pool DefaultPool}
default {drop }
}
}
will the HTTP::host search for "domain.com" or 20.30.40.1 in the condition part??
- hoolio
Cirrostratus
Hi Santosh,
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