]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
As per comment, removing quotes makes the example work
authorRichard Bowen <rbowen@apache.org>
Fri, 7 Mar 2014 21:05:11 +0000 (21:05 +0000)
committerRichard Bowen <rbowen@apache.org>
Fri, 7 Mar 2014 21:05:11 +0000 (21:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1575406 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expr.xml

index 0b43fea2fe87140f08b7e3ec15b545fe36f58768..c8be338d4c7521f9051a8f28b0ccabd55058c04c 100644 (file)
@@ -560,7 +560,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>