Forum Discussion
hooleylist
Mar 10, 2009Cirrostratus
If you do end up going with option one, you can use HTTP classes in 9.4+ or an iRule to select the pool based on the requested host header. For details on using HTTP classes, you can check the LTM configuration guide for your version. Here is an example iRule:
when HTTP_REQUEST {
Check requested host header (set to lowercase)
switch [string tolower [HTTP::host]] {
"www.site1.com" {
pool site1_pool
}
"www.site2.com" {
pool site2_pool
}
default {
pool default_pool
}
}
}
Aaron