summaryrefslogtreecommitdiff
path: root/docs/manual/howto/access.html.en
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/howto/access.html.en')
-rw-r--r--docs/manual/howto/access.html.en6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/howto/access.html.en b/docs/manual/howto/access.html.en
index eb16035c68..17036ee938 100644
--- a/docs/manual/howto/access.html.en
+++ b/docs/manual/howto/access.html.en
@@ -163,9 +163,9 @@ Require not host gov</pre>
and 6am, you can do this using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
<pre class="prettyprint lang-config">RewriteEngine On
-RewriteCond %{TIME_HOUR} &gt;=20 [OR]
-RewriteCond %{TIME_HOUR} &lt;07
-RewriteRule ^/fridge - [F]</pre>
+RewriteCond "%{TIME_HOUR}" "&gt;=20" [OR]
+RewriteCond "%{TIME_HOUR}" "&lt;07"
+RewriteRule "^/fridge" "-" [F]</pre>
<p>This will return a 403 Forbidden response for any request after 8pm