1. mirror
  2. Apache HTTP Server

Commits

Richard Bowen  committed 8d39ebd

Encourage best practice of putting complex arguments in quotes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@148135913f79535-47bb-0310-9956-ffa450edef68

  • Participants
  • Parent commits fa3279c
  • Branches trunk

Comments (0)

Files changed (2)

File docs/manual/expr.xml

View file
 
 # Only allow access to this content during business hours
 <Directory "/foo/bar/business">
-    Require expr %{TIME_HOUR} -gt 9 && %{TIME_HOUR} -lt 17 
+    Require expr "%{TIME_HOUR} -gt 9 && %{TIME_HOUR} -lt 17"
 </Directory>	
 	</highlight>
 </section>

File docs/manual/mod/mod_authz_core.xml

View file
   decisions on arbitrary expressions.</p>
 
     <highlight language="config">
-        Require expr %{TIME_HOUR} -ge 9 &amp;&amp; %{TIME_HOUR} -le 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>