]> granicus.if.org Git - apache/commitdiff
Small inconsistency fix
authorDaniel Gruno <humbedooh@apache.org>
Tue, 15 May 2012 06:23:24 +0000 (06:23 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Tue, 15 May 2012 06:23:24 +0000 (06:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1338549 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/access.xml

index 3920db755d032a444a31b1883fac938863c728ab..d78e93bb26917c36c198a1b4bd40a9072ef34f96 100644 (file)
@@ -133,7 +133,7 @@ Require not gov
     following:</p>
 
     <highlight language="config">
-&lt;If "%{HTTP_USER_AGENT} = 'BadBot'"&gt;
+&lt;If "%{HTTP_USER_AGENT} == 'BadBot'"&gt;
     Require All Denied
 &lt;/If&gt;
     </highlight>
@@ -162,7 +162,7 @@ Require not gov
 
     <highlight language="config">
 RewriteEngine On
-RewriteCond %{TIME_HOUR} &gt;20 [OR]
+RewriteCond %{TIME_HOUR} &gt;=20 [OR]
 RewriteCond %{TIME_HOUR} &lt;07
 RewriteRule ^/fridge - [F]
     </highlight>