Forum Discussion
cyb3r_3y3
Jan 24, 2021Nimbostratus
Block 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.
- natheCirrocumulus
This may help (note I haven't validated this):
when HTTP_REQUEST { if { [string tolower [HTTP::host]] != "www.test.com" } { reject } }
N
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