Forum Discussion
kgaigl
Dec 15, 2022Cirrocumulus
IRule to block URL/URI from Data Group
Hello, we've a VS with about 20 URLs, now I've to block Login-Sites dor the most but not all URL's, for eg: www.somesite1.org/login www.somesite2.org/member www.somesite2.org/login I'd like to p...
kgaigl
Dec 15, 2022Cirrocumulus
Hi mihaic
with
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::host][HTTP::uri]] equals BLOCK_LOGIN_SITES] } {
HTTP::respond 403
}
}
it's working
thank you
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