Sajid
Apr 27, 2020Cirrostratus
Single Virtual Server with Multiple Access Profiles (APM) based on uri
Hi Guys,
I have requirement to enable access profile (APM) for different URI on the a single Virtual Server. Currently, single Access Profile (Mapped) and enable based on the URI string (/fss/gentry).
iRule
when HTTP_REQUEST {
if {( [HTTP::uri] contains "/fss/gentry" ) } {
log local0. "APM Enable for -- my URI is [HTTP::uri]"
return
} else {
ACCESS::disable
log local0. "APM Disable -- APM Diable for [HTTP::uri]"
return
}
}
New requirement for URI "/sss/gmodify"
want to map different APM Profile
Regards,
Sajid