Forum Discussion
APM session start based on HTTP::uri
Hi,
I have an active informational website, where there is a section for personalized user content. There is a need to perform an APM policy only when a user tries to login to personal profile.
So, if we assume that the informational section is under www.example.com/*, I would like to perform the APM session start only when someone is visiting www.example.com/personal/login. Is this possible?
I am using the follwing irule, but it doesn't work. The problem is also that after applying the irule our site becomes unavailable. Our policy is performing SSO and the redirects traffic to a pool. I appreciate any help you can give me.
when HTTP_REQUEST {
set path [HTTP::uri]
switch -glob [string tolower $path] {
"/personal/login/*" -
"/test*" {
Enable APM for these paths
ACCESS::enable
}
default {
Disable APM for all other paths
ACCESS::disable
}
}
}
Thank you in advance.
Regards,
Alexander Emmanuel
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com