Jean_42123
Sep 27, 2010Nimbostratus
i-rule not being triggered on a virtual server
Hello Guys,
I have the below i-rule that I have defined and I have applied it to the virtual server.
Below is the whole configuration l ( including the profile, the i-rule and the virtual server ) but for some reasons the event is not being triggered althought http traffic is reaching the virtual server on port 8080.
Can anyone advise if I missed anything. thanks in advance.
Your support is really appreciated.
profile http MMS_TrafficFilter_Profile {
defaults from http
}
rule MMS_TrafficFilter {
when HTTP_REQUEST {
if {[HTTP::host] contains "mmsc.omanmobile.om" } {
pool NWG_WAP2
log local0."forwarding_traffic_to_wapgw_pool"
} elseif { [HTTP::host] contains "192.168.220.8"} {
pool NWG_WAP2
log local0."forwarding_traffic_to_wapgw_pool"
} else {
reject
log local0."discarding_traffic"
}
}
}
virtual MMS_WAP2 {
destination x.x.x.x:webcache
lasthop pool lasthop_pool
ip protocol tcp
profile MMS_TrafficFilter_Profile tcp
persist NWG_WAP2_Persistence
pool NWG_WAP2
rule MMS_TrafficFilter
vlans external_mobile enable
}