SecRuleEngine Off support?

Discussion in 'General' started by ElliotP, Mar 4, 2013.

  1. ElliotP

    ElliotP New Member

    Hi,

    We can't seem to disable modsec for any vhost - it still triggers the rules unless we disable rules individually via SecRuleRemoveById

    The config in question is:

    <LocationMatch .*>
    SecRuleEngine Off
    </LocationMatch>

    Should this work?

    Thanks,
  2. NiteWave

    NiteWave Administrator

    I tested
    SecRuleEngine Off

    before without LocationMatch, it works.

Share This Page