Talassa_90150
Nov 18, 2015Nimbostratus
redirect publish web sites based on host header to apm apolicy
im publising my sites via F5 APM i have only one external ip listner and i would like F5-APM to redirect the request based on hostname header xxx.example.com --->x.x.x.x yyy.examole.com--->y.y.y.y to the desired web site i have set a data group name "Pool_data_group" with this entries product.example.com :=prodcut sales.exapmle.com :=sales product and sales is diffrent access profle
my irule looks like this but its not working i get into the default "Virtual publish-site"
when HTTP_REQUEST { set app_pool [class match -value -- [HTTP::host] equals Pool_data_group] if {$app_pool ne ""} {
log for debug
log local0.alert "pool String Value $app_pool" WEBSSO::select $app_pool } else { virtual Publish-Site } }