Forum Discussion
Mike_59458
Nimbostratus
Sep 14, 2011Redirect on URI
Looking for some help to finish off this irule. I am trying to redirect to http error message 401 if the virtual server gets HTTPS://MAIL.DOMAIN.COM/OWA. All other URI can pass but need to block the...
Michael_Yates
Nimbostratus
Sep 14, 2011Hi Mike,
Try this and see how it works for you.
when HTTP_REQUEST {
HTTP::enable
if {[string tolower [HTTP::uri]] eq "/owa" } {
HTTP::respond 401
}
}