Forum Discussion
Kevin_Stewart
Nov 05, 2013Employee
Just curious, but what does your iRule look like? The following example should work:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/test" } {
ACCESS::session remove
HTTP::redirect "http://www.example.com"
}
}
You'd necessarily need to issue a redirect if you were removing the session based on request URI, as it'd cause an infinite loop. If you just want to disable the access policy for a particular request, you can use the ACCESS::disable command.
when HTTP_REQUEST {
if { [HTTP::uri] equals "/test" } {
ACCESS::disable
}
}