Forum Discussion
APM how to show a remote deny page
Working on a APM+LTM policy, I have a question What if I didn't want to show the fail page if the policy ends with 'Deny'?
Let me explain: my application is visible after a successful login, but the desired result in case of failure is to hit a different LTM pool, which implements a simple user manual.
I tried to assign the pool on the 'fail' branch, but if I keep the ending defined as 'Deny' APM will always show the built-in failure page. Defining the red ending as 'Allow' realizes the right behavior, but I cannot any more detect the policy failed status in my irule.
Is there a way to override the 'Deny' behavior of the APM policy? iRules are fine.
Thanks
- Stanislas_Piro2
Cumulonimbus
Hi,
You can create a redirect ending to redirect denied user to an URL hosting the web page. this url can be /mydenypage
then, create an irule like:
when HTTP_REQUEST { if {[HTTP::path] equals /mydenypage} { ACCESS::disable pool mydenypool } }
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