summaryrefslogtreecommitdiff
path: root/docs/manual/howto/access.html.en
diff options
context:
space:
mode:
authorTakashi Sato <takashi@apache.org>2014-05-23 21:37:10 +0000
committerTakashi Sato <takashi@apache.org>2014-05-23 21:37:10 +0000
commitb21818ec88ba6d6acacc4b7703ba66611ee8ca03 (patch)
tree341c3f3fdb41faddfd22dda57715cbe789692273 /docs/manual/howto/access.html.en
parentc7734b9ccf23ffa0c724dbe153489f836c16c47f (diff)
downloadhttpd-b21818ec88ba6d6acacc4b7703ba66611ee8ca03.tar.gz
update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1597193 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/howto/access.html.en')
-rw-r--r--docs/manual/howto/access.html.en7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/manual/howto/access.html.en b/docs/manual/howto/access.html.en
index 4c8c9d7f10..d8044cee2c 100644
--- a/docs/manual/howto/access.html.en
+++ b/docs/manual/howto/access.html.en
@@ -134,6 +134,13 @@ Require not host gov</pre>
&lt;/If&gt;</pre>
+ <p>Using the <code class="directive"><a href="../mod/mod_authz_core.html#require">Require</a></code>
+ <code>expr</code> syntax, this could also be written as:</p>
+
+
+ <pre class="prettyprint lang-config">Require expr %{HTTP_USER_AGENT} != 'BadBot'</pre>
+
+
<div class="note"><h3>Warning:</h3>
<p>Access control by <code>User-Agent</code> is an unreliable technique,
since the <code>User-Agent</code> header can be set to anything at all,