Forum Discussion
Brian_Kenworthy
Oct 22, 2012Nimbostratus
Oops, here is the code 🙂
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/proxyservice*" {
log local0. "[IP::client_addr]:[TCP::client_port]: Dropping request to [HTTP::uri]"
HTTP::respond 200 content "Forbidden
Website Error: Forbidden
Your information has been logged.
"
}
default {
pool www.domain.com_HTTP
}
}
}