Dan_23720
Mar 13, 2014Nimbostratus
iApp - HTTP(s): 1 VS address + multiple URLS and Pools ?
Is there an iApp similar to the f5.http iApp that can create and allow reconfiguration of one VS address serving mutiple URLS and pools? Something similar to the irule below. If not, do i use the f5.http and add a pre-made irule or can an iapp be modified to provide this (and can someone help with modification)? Thanks in advance!
when HTTP_REQUEST {
if { [HTTP::host] starts_with "xxx.example.com" } {
persist cookie insert xxx.example.com
pool xxx.example.com
}
elseif { [HTTP::host] starts_with "yyy.example.com" } {
persist cookie insert yyy.example.com
pool yyy.example.com
}
elseif { [HTTP::host] starts_with "zzz.example.com" } {
persist cookie insert zzz.example.com
pool zzz.example.com
}
else {
discard
}
}