Forum Discussion
Mike_73765
Nimbostratus
Mar 03, 2010Block users from using ip instead of url
I have a https VS, where i want to block users from connecting if they type in the ip address instead of the url. can i do this without using an irule? if so, how...custom profile?
Thanks,
Mike
- hoolio
Cirrostratus
Hi Mike,when HTTP_REQUEST { Check if the host header contains one or more alpha characters if {not ([string match -nocase {*[a-z]*} [HTTP::host]])}{ Host was either empty or an IP address, take some action } }
- Mike_73765
Nimbostratus
thanks Aaron.
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