summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/manual/howto/access.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/howto/access.xml b/docs/manual/howto/access.xml
index 3920db755d..d78e93bb26 100644
--- a/docs/manual/howto/access.xml
+++ b/docs/manual/howto/access.xml
@@ -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>