Updated Reference Manual (mediawiki)

jamuse
2012-10-23 17:54:45 -07:00
parent cc0698f7fd
commit a174363bf2

@@ -2711,6 +2711,8 @@ Special rules control the usage of actions in chained rules:
<pre> <pre>
# Parse requests with Content-Type "text/xml" as XML # Parse requests with Content-Type "text/xml" as XML
SecRule REQUEST_CONTENT_TYPE ^text/xml "nolog,pass,id:106,ctl:requestBodyProcessor=XML" SecRule REQUEST_CONTENT_TYPE ^text/xml "nolog,pass,id:106,ctl:requestBodyProcessor=XML"
# white-list the user parameter for rule #981260 when the REQUEST_URI is /index.php
SecRule REQUEST_URI "@beginsWith /index.php" "phase:1,t:none,pass, \ SecRule REQUEST_URI "@beginsWith /index.php" "phase:1,t:none,pass, \
nolog,ctl:ruleRemoveTargetById=981260;ARGS:user nolog,ctl:ruleRemoveTargetById=981260;ARGS:user
</pre> </pre>