Forum Discussion
Domel_163525
Nimbostratus
Nov 30, 2015How to create a Policy to block websites
Hi Guys,
Question to ask.
I have a VS configured and accessible externally on my F5. An A record has been crated of X.X.X.X to www.mydomain.co.uk and that works perfectly fine.
The pro...
Domel_163525
Nimbostratus
Dec 01, 2015The iRule could not even be saved on BIG-IP as the code was incorrect.
I have used this one and it works fine now:
when HTTP_REQUEST { if { [HTTP::uri] equals "/owa" } { HTTP::respond 301 Location "https://mynewurl.co.uk" } elseif { [ class match [string tolower [HTTP::uri]] contains web-exchange-external-datagroup ] } { return} else { drop} }
Thanks for your help.
P.S. how do I make my iRule to appear in a table (like yours) when I reply here?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects