From 21ef7f8abdba47d71d4dc6d0150450ae8734326a Mon Sep 17 00:00:00 2001 From: Esad Cetiner <104706115+EsadCetiner@users.noreply.github.com> Date: Fri, 1 May 2026 16:54:22 +1000 Subject: [PATCH 1/2] fix: add missing example on enabling plugins per domain --- .../2-how-crs-works/2-3-false-positives-and-tuning.md | 10 ++++++++++ themes/hugo-relearn | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/content/2-how-crs-works/2-3-false-positives-and-tuning.md b/content/2-how-crs-works/2-3-false-positives-and-tuning.md index 5be76dbb..5814e34f 100644 --- a/content/2-how-crs-works/2-3-false-positives-and-tuning.md +++ b/content/2-how-crs-works/2-3-false-positives-and-tuning.md @@ -359,6 +359,16 @@ If running multiple web applications, it is highly recommended to enable a rule ```apache SecRule REQUEST_URI "@beginsWith /wordpress/" setvar:tx.crs_exclusions_wordpress=1... + +Or if CRS is running on an reverse-proxy with multiple apps, you can enable plugins per domain using either [SecWebAppID](https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#user-content-SecWebAppId) (Unsupported on Coraza): +```apache +SecRule WebAppID "@streq wordpress" setvar:tx.crs_exclusions_wordpress=1... +``` + +or the Host header: +```apache +SecRule REQUEST_HEADERS:Host "@streq wordpress.example.com" setvar:tx.crs_exclusions_wordpress=1... + ``` {{% /notice %}} diff --git a/themes/hugo-relearn b/themes/hugo-relearn index 93d7f257..be85052e 160000 --- a/themes/hugo-relearn +++ b/themes/hugo-relearn @@ -1 +1 @@ -Subproject commit 93d7f257d1a31ce9033183015382c2ef5e164b08 +Subproject commit be85052efea3a0aaef45ecb0126d390c1bbac760 From 8a7b88297c13d14e86bce2baf2dbb00cf5d5fa38 Mon Sep 17 00:00:00 2001 From: Esad Cetiner <104706115+EsadCetiner@users.noreply.github.com> Date: Sat, 2 May 2026 08:11:44 +1000 Subject: [PATCH 2/2] update git submodule --- themes/hugo-relearn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugo-relearn b/themes/hugo-relearn index be85052e..8bb66fa6 160000 --- a/themes/hugo-relearn +++ b/themes/hugo-relearn @@ -1 +1 @@ -Subproject commit be85052efea3a0aaef45ecb0126d390c1bbac760 +Subproject commit 8bb66fa674351f3a0b0917a7552caac686eca920