Forum Discussion
Jul 02, 2015
The only thing I see is that you specified you wanted anything starting with "/abc/" to be rejected. In the iRule you have anything starting with "/abc". Not sure if that's what you intended or not. I couldn't save that iRule as-is due to parsing errors. Try this
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/abc/" } {
log local0. "Rejecting "/abc/* request"
reject
}
}
This should print a message to the /var/log/messages file everytime a /abc/* request comes in. /var/log/messages should also print out any errors you are having.
-Joe