]> granicus.if.org Git - apache/commitdiff
As per comment, removing quotes makes the example work
authorRich Bowen <rbowen@apache.org>
Fri, 7 Mar 2014 21:07:22 +0000 (21:07 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 7 Mar 2014 21:07:22 +0000 (21:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1575408 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.xml

index 0d5a29cb00aa8d92704a6d2a69b4bd4e86b3172d..92495715cb4a84080c94f8742e5460d681937f01 100644 (file)
@@ -542,7 +542,7 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</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>