25 Jul 2012 00:50
SecRule syntaxes
David R <rewt <at> linux-elite.org>
2012-07-24 22:50:21 GMT
2012-07-24 22:50:21 GMT
Hello, I wondered how i could for example: Whitelist the "param" argument for the url /prout.php on the vhost www.host.com from 950901 rule id. The maximum that i am able to do is: SecRule REQUEST_HEADERS:Host "www.host.com$" "phase:1,t:none,nolog,pass,ctl:ruleRemoveById=950109;ARGS:param" How could i include the REQUEST_URI "^/prout\.php" to that request ? My other question is regarding performqnces, is there any advantage to write a rule like this one: SecRule REQUEST_HEADERS:Host "www.host.com$" "phase:1,t:none,nolog,pass,ctl:ruleRemoveById=981173,ctl:ruleRemoveById=950901,c tl:ruleRemoveById=950109,ctl:ruleRemoveById=950117;ARGS:param" Will the previous rule work and will it impact performances in a good or bad way ? Thank you for your responses. Kind regards ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and(Continue reading)
RSS Feed