diff options
-rw-r--r-- | docs/manual/howto/access.xml | 4 |
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"> -<If "%{HTTP_USER_AGENT} = 'BadBot'"> +<If "%{HTTP_USER_AGENT} == 'BadBot'"> Require All Denied </If> </highlight> @@ -162,7 +162,7 @@ Require not gov <highlight language="config"> RewriteEngine On -RewriteCond %{TIME_HOUR} >20 [OR] +RewriteCond %{TIME_HOUR} >=20 [OR] RewriteCond %{TIME_HOUR} <07 RewriteRule ^/fridge - [F] </highlight> |