[mod-security-users] Regex in a Variable?
Brought to you by:
victorhora,
zimmerletw
From: Macks, A. <am...@ha...> - 2013-11-01 15:23:36
|
I've got a bunch of rule-exceptions that need to allow multiple problematic-looking but valid arguments (or cookies). The naive way to do that is: !ARGS:/^addresses/|!ARGS:items|!ARGS:shippingInfo I tried putting that as a single rule REGEX: !ARGS:/^(addresses|items|:shippingInfo)/ but it parsed the pipe as "next variable" and threw some errors*. Is there a way to quote a regex in that section of config, or do i need to do it the naive way? thanks A * error: Unknown variable: items -- Aaron Macks Systems Architect Harvard Business Publishing 300 North Beacon St. | Watertown, MA 02472 (617) 783-7461 | Fax: (617) 783-7467 www.harvardbusiness.org<http://www.harvardbusiness.org> | Cell:(978) 317-3614 |