Where ModSecurity rules are stored?

Created:

2017-05-19 07:39:55 UTC

Modified:

2017-08-16 16:50:21 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Where ModSecurity rules are stored?

Applicable to:

  • Plesk for Linux

Question

Where ModSecurity rules are stored?

Answer

Domain-level rules are stored in /var/www/vhosts/system/example.com/conf/httpd.conf

Server-level rules are stored in /etc/httpd/conf/plesk.conf.d/server.conf

Directory-specific rules can be defined in /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/50_plesk_basic_asl_rules.conf or in /etc/apache2/conf/modsecurity.d/rules/tortix/modsec/50_plesk_basic_asl_rules.conf

Have more questions? Submit a request
Please sign in to leave a comment.