httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1362510 - in /httpd/httpd/branches/2.4.x/docs/manual/mod: mod_authz_core.xml mod_ssl.xml
Date Tue, 17 Jul 2012 14:29:34 GMT
Author: covener
Date: Tue Jul 17 14:29:34 2012
New Revision: 1362510

URL: http://svn.apache.org/viewvc?rev=1362510&view=rev
Log:
Merge r1362506 from https://svn.apache.org/repos/asf/httpd/httpd/trunk/:

Use integer operators when comparing to TIME_HOUR

Reported by Florian in comment#124.



Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authz_core.xml
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authz_core.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authz_core.xml?rev=1362510&r1=1362509&r2=1362510&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authz_core.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authz_core.xml Tue Jul 17 14:29:34 2012
@@ -218,7 +218,7 @@ SetEnvIf User-Agent ^KnockKnock/2\.0 let
   decisions on arbitrary expressions.</p>
 
     <highlight language="config">
-        Require expr %{TIME_HOUR} &gt;= 9 &amp;&amp; %{TIME_HOUR} &lt;= 17

+        Require expr %{TIME_HOUR} -ge 9 &amp;&amp; %{TIME_HOUR} -le 17 
     </highlight>
 
   <p>The syntax is described in the <a href="../expr.html">ap_expr</a>

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.xml?rev=1362510&r1=1362509&r2=1362510&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.xml Tue Jul 17 14:29:34 2012
@@ -1402,11 +1402,11 @@ request processing.</p>
 
 <example><title>Example</title>
 <highlight language="config">
-SSLRequire (    %{SSL_CIPHER} !~ m/^(EXP|NULL)-/                \
-            and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd."        \
-            and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"}  \
-            and %{TIME_WDAY} &gt;= 1 and %{TIME_WDAY} &lt;= 5          \
-            and %{TIME_HOUR} &gt;= 8 and %{TIME_HOUR} &lt;= 20       ) \
+SSLRequire (    %{SSL_CIPHER} !~ m/^(EXP|NULL)-/                   \
+            and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd."          \
+            and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"}    \
+            and %{TIME_WDAY} -ge 1 and %{TIME_WDAY} -le 5          \
+            and %{TIME_HOUR} -ge 8 and %{TIME_HOUR} -le 20       ) \
            or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
 </highlight>
 </example>



Mime
View raw message