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:53:43 UTC

svn commit: r1362527 - /httpd/httpd/branches/2.4.x/docs/manual/expr.xml

Author: humbedooh
Date: Tue Jul 17 14:53:42 2012
New Revision: 1362527

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

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/expr.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/expr.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/expr.xml?rev=1362527&r1=1362526&r2=1362527&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/expr.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/expr.xml Tue Jul 17 14:53:42 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>