Forum Discussion
Enable APM on SharePoint Subsite Only
I Finally came up with this.
when HTTP_REQUEST { if { [string tolower [HTTP::path]] contains "/myury" and[ACCESS::session data get "session.logon.last.username"] eq "" and [HTTP::cookie "MRHSession"] ne ""} { Some 200 respons and hangup of session via hidden frame /vdesk/hangup.php3}
Not the cleanest way of doing things but it works. Strange thing is that ACCESS:disable seems to throw "page cannot be displayed" errors when users do not browse myuri.
ACCESS::session remove kills the session without notifying the end user.
Many thanks for your replies guys.
Martijn
- Michael_Leonha1Sep 04, 2013
Nimbostratus
I thought I had the same problem, every time a uri contained /private/ I need to use APM to authenticate the user. Maybe my approach is flawed, but I created 2 irules and ordered them on the virtual server, the first irule was: when HTTP_REQUEST { ACCESS::disable} the second irule was: when HTTP_REQUEST { if { [string tolower [HTTP::path]] contains "/private/"} { ACCESS::enable}} So far things seem to be working like I want, but I am not sure what I am doing is technically the correct way or what the pitfalls of doing it that way are.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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