You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/17 16:52:54 UTC

svn commit: r1362526 - /httpd/httpd/trunk/docs/manual/expr.xml

Author: humbedooh
Date: Tue Jul 17 14:52:54 2012
New Revision: 1362526

URL: http://svn.apache.org/viewvc?rev=1362526&view=rev
Log:
Use integer operators when comparing to TIME_HOUR
Reported by Florian in comment #124

Modified:
    httpd/httpd/trunk/docs/manual/expr.xml

Modified: httpd/httpd/trunk/docs/manual/expr.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.xml?rev=1362526&r1=1362525&r2=1362526&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.xml (original)
+++ httpd/httpd/trunk/docs/manual/expr.xml Tue Jul 17 14:52:54 2012
@@ -489,7 +489,7 @@ listfunction ::= listfuncname "<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>