Forum Discussion
john_waterworth
Nimbostratus
Oct 06, 2010is it possible to consolidated multiple irules ito one irule
is it possible to consolidate the following irules into one irule
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/mtp/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/console/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/mtpadm/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/remote-deploy/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/juddi/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/activeemg/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/console-base/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/debug-views/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/plan-creator/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/monitoring/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/plugin/" } {
drop
}
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "/system-database/" } {
drop
}
}
- Ben_95489
Nimbostratus
Hey John, - john_waterworth
Nimbostratus
Thanks Ben. i will give it a try
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