summaryrefslogtreecommitdiffstats
path: root/docs/manual/expr.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/expr.xml')
-rw-r--r--docs/manual/expr.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/manual/expr.xml b/docs/manual/expr.xml
index 89811890f1..219c1ad7f5 100644
--- a/docs/manual/expr.xml
+++ b/docs/manual/expr.xml
@@ -718,6 +718,10 @@ Require expr %{REMOTE_ADDR} -in split s/.*?IP Address:([^,]+)/$1/, PeerExtList('
# or alternatively:
Require expr "IP Address:%{REMOTE_ADDR}" -in split/, /, join PeerExtList('subjectAltName')
+# Conditional logging
+CustomLog logs/access-errors.log common “expr=%{REQUEST_STATUS} >= 400”
+CustomLog logs/access-errors-specific.log common “expr=%{REQUEST_STATUS} -in {'405','410'}"
+
</highlight>
</section>