setvar: needs review

This commit is contained in:
Felipe Zimmerle
2016-11-23 09:29:12 -03:00
parent c339194c02
commit eecb90cfd0
7 changed files with 53 additions and 23 deletions

View File

@@ -111,8 +111,8 @@
},
"rules":[
"SecRuleEngine On",
"SecRule REQUEST_HEADERS \"@contains PHPSESSID\" \"id:1,capture,t:lowercase,t:none,msg:'This is a test: %{TX.0}% ops'\"",
"SecRule TX \"@contains to_test\" \"id:2,t:lowercase,capture,t:none\""
"SecRule REQUEST_HEADERS \"@rx PHPSESSID\" \"id:1,capture,t:lowercase,t:none,msg:'This is a test: %{TX.0}% ops'\"",
"SecRule TX \"@rx to_test\" \"id:2,t:lowercase,capture,t:none\""
]
}
]