From: Eric Covener Date: Sun, 30 Nov 2014 18:16:27 +0000 (+0000) Subject: add a few more examples per feedback X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a51103470ce71f360d1c9ae451b6de2406f0ead7;p=thirdparty%2Fapache%2Fhttpd.git 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 94a1e4d043b..aace72121aa 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.