Forum Discussion
cyb3r_3y3
Nimbostratus
Jan 24, 2021Block Domain Redirection with irule.
My requirement is to block domain redirections for example :
my domain is www.test.com, someone has created domains like www.fun.com and www.rock.com on a external DNS and is redirecting to my domain www.test.com . Is there a way to block these redirects in an iRule.
Kindly advice.
1 Reply
- nathe
Cirrocumulus
This may help (note I haven't validated this):
when HTTP_REQUEST { if { [string tolower [HTTP::host]] != "www.test.com" } { reject } }N
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