Forum Discussion
srinivas_nory_2
Nimbostratus
Jun 30, 2015Irule to restrict traffic based on domain name
Hello,
I was wondering if there was a way to use an I rule based on the domain name of the host and deny all the traffic apart from those specific domain names ?
Example :
We have a d...
TechT
Nimbostratus
Jun 30, 2015Try below :
when HTTP_REQUEST {
if { ([HTTP::host] contains "mydomain.com") or ([HTTP::host] contains "mydomain.in") } {
pool }
else { drop }
}
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