mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-21 03:26:42 +03:00
SecRuleUpdateTargetById: Removed note about deprecation (based on Breno Silva's remark on the user ML on June 19): This directive is here to stay.
@@ -1453,8 +1453,6 @@ You could also replace targets using the ctl action. For example, lets say you
|
|||||||
SecRule REQUEST_FILENAME "@streq /path/to/file.php" "phase:1,id:3,t:none,nolog,pass,ctl:ruleUpdateTargetById=958895;REQUEST_URI;REQUEST_FILENAME"
|
SecRule REQUEST_FILENAME "@streq /path/to/file.php" "phase:1,id:3,t:none,nolog,pass,ctl:ruleUpdateTargetById=958895;REQUEST_URI;REQUEST_FILENAME"
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
; Note : This ctl is deprecated and will be removed from the code, since we cannot use it per-transaction. Please use the new ruleRemoveTargetById ctl option if you want to remove a target or target list per-transaction.
|
|
||||||
|
|
||||||
== SecRuleUpdateTargetByMsg ==
|
== SecRuleUpdateTargetByMsg ==
|
||||||
'''Description:''' Updates the target (variable) list of the specified rule by rule message.
|
'''Description:''' Updates the target (variable) list of the specified rule by rule message.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user