]> granicus.if.org Git - apache/commitdiff
Use integer operators when comparing to TIME_HOUR
authorDaniel Gruno <humbedooh@apache.org>
Tue, 17 Jul 2012 14:52:54 +0000 (14:52 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Tue, 17 Jul 2012 14:52:54 +0000 (14:52 +0000)
Reported by Florian in comment #124

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1362526 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.xml

index d2de79cecbc9935c80b7f4a3a7da948c9ae23405..10f0d749e89781620e6c70eabf95af09ea50e3ed 100644 (file)
@@ -489,7 +489,7 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
 
 # Only allow access to this content during business hours
 &lt;Directory "/foo/bar/business"&gt;
-    Require expr %{TIME_HOUR} &gt;= 9 &amp;&amp; %{TIME_HOUR} &lt;= 17 
+    Require expr %{TIME_HOUR} -gt 9 &amp;&amp; %{TIME_HOUR} -lt 17 
 &lt;/Directory&gt;     
        </highlight>
 </section>