From: Eric Covener Date: Wed, 25 Jul 2018 14:46:43 +0000 (+0000) Subject: xform X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e12641c00c2172b5af950dc0e9a0554e9e7f0e3c;p=apache xform git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1836639 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en index 15c1247cfd..5f97b42783 100644 --- a/docs/manual/expr.html.en +++ b/docs/manual/expr.html.en @@ -663,7 +663,11 @@ RequestHeader set X-Client-SAN "expr=%{:join PeerExtList('subjectAltName'):}" # Require that the remote IP be in the client's certificate SAN Require expr %{REMOTE_ADDR} -in split s/.*?IP Address:([^,]+)/$1/, PeerExtList('subjectAltName') # or alternatively: -Require expr "IP Address:%{REMOTE_ADDR}" -in split/, /, join PeerExtList('subjectAltName') +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'}"
top