Forum Discussion
ZhenDong_117274
Nimbostratus
Dec 04, 2013How to use Irules deny someone access some website
when HTTP_REQUEST {
if { {matchclass [IP::remote_addr] not equals $::vip} && {HTTP::uri contains $::website}}{
HTTP::redirect http://www.google.com
}
}
V9.4.8
The we...
IheartF5_45022
Nacreous
Dec 05, 2013Try this;
when HTTP_REQUEST {
if { [matchclass [IP::remote_addr] eq dg_ip_whitelist] && [matchclass [HTTP::host] eq dg_website_whitelist]} {
HTTP::redirect http://www.google.com
}
}
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