diff options
Diffstat (limited to 'docs/manual/howto/access.html.en')
| -rw-r--r-- | docs/manual/howto/access.html.en | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/manual/howto/access.html.en b/docs/manual/howto/access.html.en index b93af0f6..d8044cee 100644 --- a/docs/manual/howto/access.html.en +++ b/docs/manual/howto/access.html.en @@ -5,7 +5,7 @@ This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> -<title>Access Control - Apache HTTP Server</title> +<title>Access Control - Apache HTTP Server Version 2.4</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> @@ -134,6 +134,13 @@ Require not host gov</pre> </If></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, |
