You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2015/01/05 21:03:51 UTC
svn commit: r1649636 - in /httpd/httpd/trunk/docs/manual: expr.html.en
expr.xml
Author: jailletc36
Date: Mon Jan 5 20:03:50 2015
New Revision: 1649636
URL: http://svn.apache.org/r1649636
Log:
Add missing 'filemod' in functions list + minor formatting issue + long line split
Modified:
httpd/httpd/trunk/docs/manual/expr.html.en
httpd/httpd/trunk/docs/manual/expr.xml
Modified: httpd/httpd/trunk/docs/manual/expr.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.html.en?rev=1649636&r1=1649635&r2=1649636&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.html.en (original)
+++ httpd/httpd/trunk/docs/manual/expr.html.en Mon Jan 5 20:03:50 2015
@@ -440,11 +440,12 @@ listfunction ::= listfuncname "<strong>(
<td>Same as <code>req</code>, but header names will not be added to the
Vary header</td><td /></tr>
<tr><td><code>resp</code></td>
- <td>Get HTTP response header (most response headers will not yet be set during <code class="directive"><If></code>)</td><td /></tr>
+ <td>Get HTTP response header (most response headers will not yet be set
+ during <code class="directive"><If></code>)</td><td /></tr>
<tr class="odd"><td><code>reqenv</code></td>
<td>Lookup request environment variable (as a shortcut,
<code>v</code> can be used too to access
- variables).</td><td /></tr>
+ variables)</td><td /></tr>
<tr><td><code>osenv</code></td>
<td>Lookup operating system environment variable</td><td /></tr>
<tr class="odd"><td><code>note</code></td>
@@ -475,13 +476,16 @@ listfunction ::= listfuncname "<strong>(
<tr class="odd"><td><code>file</code></td>
<td>Read contents from a file (including line endings, when present)
</td><td>yes</td></tr>
-<tr><td><code>filesize</code></td>
+<tr><td><code>filemod</code></td>
+ <td>Return last modification time of a file (or 0 if file does not exist
+ or is not regular file)</td><td>yes</td></tr>
+<tr class="odd"><td><code>filesize</code></td>
<td>Return size of a file (or 0 if file does not exist or is not
regular file)</td><td>yes</td></tr>
-<tr class="odd"><td><code>ldap</code></td>
+<tr><td><code>ldap</code></td>
<td>Escape characters as required by LDAP distinguished name escaping
(RFC4514) and LDAP filter escaping (RFC4515).</td><td /></tr>
-<tr><td><code>replace</code></td>
+<tr class="odd"><td><code>replace</code></td>
<td>replace(string, "from", "to") replaces all occurences of "from"
in the string with "to".</td><td /></tr>
</table>
Modified: httpd/httpd/trunk/docs/manual/expr.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/expr.xml?rev=1649636&r1=1649635&r2=1649636&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/expr.xml (original)
+++ httpd/httpd/trunk/docs/manual/expr.xml Mon Jan 5 20:03:50 2015
@@ -485,11 +485,12 @@ listfunction ::= listfuncname "<strong>(
<td>Same as <code>req</code>, but header names will not be added to the
Vary header</td><td></td></tr>
<tr><td><code>resp</code></td>
- <td>Get HTTP response header (most response headers will not yet be set during <directive><If></directive>)</td><td></td></tr>
+ <td>Get HTTP response header (most response headers will not yet be set
+ during <directive><If></directive>)</td><td></td></tr>
<tr><td><code>reqenv</code></td>
<td>Lookup request environment variable (as a shortcut,
<code>v</code> can be used too to access
- variables).</td><td></td></tr>
+ variables)</td><td></td></tr>
<tr><td><code>osenv</code></td>
<td>Lookup operating system environment variable</td><td></td></tr>
<tr><td><code>note</code></td>
@@ -520,6 +521,9 @@ listfunction ::= listfuncname "<strong>(
<tr><td><code>file</code></td>
<td>Read contents from a file (including line endings, when present)
</td><td>yes</td></tr>
+ <tr><td><code>filemod</code></td>
+ <td>Return last modification time of a file (or 0 if file does not exist
+ or is not regular file)</td><td>yes</td></tr>
<tr><td><code>filesize</code></td>
<td>Return size of a file (or 0 if file does not exist or is not
regular file)</td><td>yes</td></tr>