From 0a91f2aa4d8bca48c317318657093d5309deecce Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Mon, 10 Aug 2015 00:21:50 -0300 Subject: [PATCH] Changes the rule in the example folder to something really simple --- examples/simple_example_using_c/basic_rules.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/simple_example_using_c/basic_rules.conf b/examples/simple_example_using_c/basic_rules.conf index 1bc84619..7e4f9742 100644 --- a/examples/simple_example_using_c/basic_rules.conf +++ b/examples/simple_example_using_c/basic_rules.conf @@ -2,6 +2,5 @@ SecRuleEngine On SecDebugLog /tmp/modsec_debug.log SecDebugLogLevel 9 -SecRule ARGS:test "@detectSQLi" "allow" -SecRule ARGS|ARGS:test "!@contains asdfsafdt" "allow" -SecRule ARGS "@detectSQLi" "allow" +SecRule ARGS "!@contains test" "allow,log" +SecRule ARGS "@contains test" "allow,log"