Forum Discussion
SSHSSH_97332
Nimbostratus
Jan 21, 2012ASM HTTP Class Question
Hosts :  match Only hots 
 
what does the host mean here ?  source ip ? 
 
and what is difference between host type :  "pattern string "  & "regex: regular expression"
 
 
 
 
 
3 Replies
- nathe
Cirrocumulus
SSHSSH
The way I use it is: I want all traffic going to our public website to be routed via the ASM module, our website is www.mycompany.com. Hence, I put *mycompany* as a Pattern String into the hosts list so any http request including this in the Host is matched and forwarded to the ASM. So Match Only hosts is a way of distinguishing which traffic is put through the ASM, according to the host part of the request.
In regards the "send to pool", we have it set at None, i.e. it uses the pool associated with the VS. But you could, with this setting, override this so it goes to a specific pool so all traffic that doesn't match the hosts list goes to the default pool, but ASM traffic goes to a different one.
Hope this helps.
N - hoolio
Cirrostratus
Hi SSHSSH,
As Nathan said, the Host field refers to the HTTP host header as defined in RFC2616 for HTTP 1.1. You can use one or more HTTP classes to select different pools for different classes of HTTP traffic. For example you could have host1.example.com request sent to one ASM policy and a separate pool compared with host2.example.com.
For details on the HTTP class object, you can check these links:
The HTTP Class profile type
http://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-concepts-11-1-0/ltm_protocol_profiles.html1210980
sol8018: Overview of the BIG-IP HTTP class traffic flow
http://support.f5.com/kb/en-us/solutions/public/8000/000/sol8018.html?sr=18877158
Aaron - SSHSSH_97332
Nimbostratus
Thanks Alot nathan & hoolio 
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