From: Eric Covener Date: Sun, 30 Nov 2014 18:16:27 +0000 (+0000) Subject: add a few more examples per feedback X-Git-Tag: 2.5.0-alpha~3668 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d9eee8e9990281a5c73011a4213a8d1d0527c23;p=apache add a few more examples per feedback git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1642584 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_authz_core.xml b/docs/manual/mod/mod_authz_core.xml index 94a1e4d043..aace72121a 100644 --- a/docs/manual/mod/mod_authz_core.xml +++ b/docs/manual/mod/mod_authz_core.xml @@ -183,6 +183,17 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in Require expr %{TIME_HOUR} -ge 9 && %{TIME_HOUR} -le 17 + +<RequireAll> + Require expr "!(%{QUERY_STRING} =~ /secret/)" + Require expr "%{REQUEST_URI} in { '/example.cgi' }" +</RequireAll> + + + + Require expr "!(%{QUERY_STRING} =~ /secret/) && %{REQUEST_URI} in { '/example.cgi' }" + +

The syntax is described in the ap_expr documentation.