httpd-cvs mailing list archives

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



Mime
View raw message