httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1362526 - /httpd/httpd/trunk/docs/manual/expr.xml
Date Tue, 17 Jul 2012 14:52:54 GMT
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>



Mime
View raw message