Forum Discussion
muzammil_88686
Nimbostratus
Nov 12, 2012Blocking Multiple URLs
Guys,
I want to block the below two URLs using iRule and also I want to log the dropped connections for both the URLs.
/xyz*
/abc
Could you pls let me know wh...
muzammil_88686
Nimbostratus
Nov 12, 2012Thank you steve for your response!
I have below two rules to the same VS
=====
when HTTP_REQUEST priority 10 {
Check requested content on the header
if {[HTTP::uri] contains "/123"}{
log local0. "/123"
Drop the connection
drop
event disable all
}
}
=====
when HTTP_REQUEST priority 10 {
switch -glob [HTTP::path] {
"/xyz*" -
"/abc*" -
"/home*" { pool pool1}
default { pool pool2 }
}
}
====
Is your suggested rule is still applicable?
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
