Forum Discussion
5 Replies
Sort By
- What_Lies_Bene1CirrostratusThis should cover it;
when HTTP_REQUEST { if { string tolower [HTTP::uri] contains “~” } { Drop the request and send a TCP RST to the client log local0. “Rejected request for [HTTP::host][HTTP::uri] reject } else { Stop processing the iRule for this event here return } }
- What_Lies_Bene1CirrostratusCorrection (was missing some []);
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains “~” } { Log the requested URL for reference log local0. “Rejected request for [HTTP::host][HTTP::uri] Drop the request and send a TCP RST to the client reject } else { Stop processing the iRule for this event here return } }
- What_Lies_Bene1CirrostratusArrgghhh. Missed a " at the end of the log statement;
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains “~” } { Log the requested URL for reference log local0. “Rejected request for [HTTP::host][HTTP::uri]” Drop the request and send a TCP RST to the client reject } else { Stop processing the iRule for this event here return } }
- ukitsysadmin_95NimbostratusHi Steve
- What_Lies_Bene1CirrostratusYou're welcome, you too.