Control Web Panel

Security => Mod_Security => Topic started by: ring_c on December 10, 2018, 06:00:08 AM

Title: Changing rules on Comodo WAF with CWP Pro
Post by: ring_c on December 10, 2018, 06:00:08 AM
Hi,


I've just got my CWP Pro enabled and installed Comodo's WAF but I need to disable some rules. Where do I do that?
Title: Re: Changing rules on Comodo WAF with CWP Pro
Post by: ring_c on December 11, 2018, 07:38:37 AM
I've tried to follow the video in CWP's wiki but it seems the systems is not the same nowadays, hence I can't exactly follow it.
Title: Re: Changing rules on Comodo WAF with CWP Pro
Post by: Netino on January 27, 2019, 01:33:59 AM
Put your customizations in: '/usr/local/apache/modsecurity-cwaf/custom_user.conf'

Like as:
Code: [Select]
  <If "%{REQUEST_URI} =~ m#/webmail/#">
    SecRuleRemoveById 211080
    SecRuleRemoveById 211630
   (...)
  </If>

Regards,
Netino