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...
eneR
Cirrostratus
Dec 01, 2015when 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}}
Like this? I always write the irule in notepad++ or f5irule editor and copy it.
And in the devcentral answer field I press on the fourth icon (Performatted Code) and paste my code in.
But sometimes i still have to add some space characters here or tab's there .. 😄
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