mahir
Nov 26, 2017Altostratus
APM control URI
I would like to create an irules that allows me to control at the first opening of a session that the URI starts with a string / ABCDE / and after it redesigns the flow to the pool.the problem when I run the irules the content of the page does not download completely
when ACCESS_POLICY_AGENT_EVENT {
if { [ACCESS::policy agent_id] eq "CONTROL" } {
set uri1 [ACCESS::session data get session.server.landinguri]
get hash from URI
if { $uri1 starts_with "/HABCD/" } {
ACCESS::session data set session.custom.control_hash 1
} else {
ACCESS::session data set session.custom.control_hash 0
}
}
}