Hi
How to assign an iRule to a virtual server in iApp template
I created iapp for owa 2010 using: f5.microsoft_exchange_2010_2013_cas.v1.6.2 , with APM authentication before
but the logout function is not working
when users click logout they don’t actually logout
So i’m trying to add this irule to the VS created automatically by iapp , but without succeeding and getting this error message:
010715bc:3: The application service (/Common/owame.app/owame) has strict updates enabled, the object (Virtual Server /Common/owame.app/owame) must be updated using an application management interface.
This is the irule:
when HTTP_REQUEST {
set apm_cookie [HTTP::cookie value MRHSession]
if { ([HTTP::uri] contains "logoff") } {
log local0. "logoff triggered"
HTTP::respond 302 noserver "Location" "/vdesk/hangup.php3?hangup_error=1" "Content-Type" "text/html" "Cache-Control" "no-cache, must-revalidate" Set-Cookie "MRHSession=deleted;expires=Thu, 01-Jan-1970 00:00:10 GMT;domain=[HTTP::host];path=/" Set-Cookie "LastMRH_Session=deleted;expires=Thu, 01-Jan-1970 00:00:10 GMT;domain=[HTTP::host];path=/"
log local0. "Session removed"
if { ([ACCESS::session exists -sid $apm_cookie]) } {
ACCESS::session remove
log local0. "Access Session Removed"
}
}
}