Author Topic: Changing rules on Comodo WAF with CWP Pro  (Read 8591 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Changing rules on Comodo WAF with CWP Pro
« 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?

Offline
**
Re: Changing rules on Comodo WAF with CWP Pro
« Reply #1 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.

Offline
***
Re: Changing rules on Comodo WAF with CWP Pro
« Reply #2 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