Forum Discussion
TJ_Vreugdenhil
Cirrus
Nov 13, 2017TMG to F5 APM Logoff URI
Hey - The Microsoft TMG had a Logoff URI that is appended. How does that convert to the F5 APM. There is a logout URI in the respective policy but it will not take this. Do I need some HTTP forms to ...
TJ_Vreugdenhil
Cirrus
Nov 14, 2017Hi Stanislas - Thanks for the response!
Yes, we just want to convert the TMG functionality above to the APM.
Would the iRule below not work better? Wouldn't we want to use
"ACCESS::session remove" as well. Perhaps these two irules are accomplishing the same thing?
when HTTP_REQUEST {
if {[URI::query [HTTP::uri] "Cmd"] equals "logoff"} {
ACCESS::session remove
HTTP::respond 302 Location "https://[HTTP::host]/vdesk/hangup.php3"
}
}
- Stanislas_Piro2Nov 14, 2017
Cumulonimbus
The two changes you did are useless
- when session hit /vdesk/hangup.php3 URI, the session immediately closes.
- Never use absolute URL if on the same service (same scheme and same hostname). prefer relative URL like I did.
it makes more work on reverse proxy if rewriting is required
even ASM detect absolute URL on the same service as a potential violation.
- TJ_VreugdenhilNov 14, 2017
Cirrus
thanks for the additional detail!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
