Forum Discussion
kunjan
Nimbostratus
See if this helps:
when ACCESS_SESSION_STARTED {
if { [HTTP::header "X-Requested-With" ] equals "XMLHttpRequest" } {
ACCESS::respond 401
}
}
ddubya_152376
May 10, 2014Nimbostratus
Looks very strait forward.
I'm quite novice to f5 configuration. Where would this configuration go in the f5? Will this iRule only hit when the session has expired or is invalid?