Forum Discussion
cgallimore_1748
Jan 21, 2016Nimbostratus
Send 401 response instead of redirecting to /vdesk/hangup.php3 page if credentials are invalid
I currently have an LTM-APM access policy setup to prompt the user for credentials, complete an AD auth and send them on to the backend server that hosts an api. I do have clientless-mode enabled via...
Stanislas_Piro2
Jan 22, 2016Cumulonimbus
Hi,
You can use this irule replying with 401 instead redirecting to /vdesk/hangup.php3
when ACCESS_POLICY_COMPLETED {
if { [ACCESS::policy result] equals "deny" } {
ACCESS::respond 401 noserver WWW-Authenticate "Basic realm=\"Basic Authentication"" Connection close
ACCESS::session remove
return
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects