summaryrefslogtreecommitdiffstats
path: root/docs/manual/expr.html.en
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-05-14 17:12:33 +0200
committerStefan Fritsch <sf@apache.org>2011-05-14 17:12:33 +0200
commita88e191cd578b8d765fb199d34618ddb7d2428bf (patch)
tree4f12fe40734364772d4d7ff06efb63247ea2a75e /docs/manual/expr.html.en
parentUpdate. (diff)
downloadapache2-a88e191cd578b8d765fb199d34618ddb7d2428bf.tar.xz
apache2-a88e191cd578b8d765fb199d34618ddb7d2428bf.zip
Also add the -U and -F operators for doing subrequest lookups to ap_expr.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1103126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/expr.html.en')
-rw-r--r--docs/manual/expr.html.en31
1 files changed, 24 insertions, 7 deletions
diff --git a/docs/manual/expr.html.en b/docs/manual/expr.html.en
index f0e9c20775..f2e0f95cf2 100644
--- a/docs/manual/expr.html.en
+++ b/docs/manual/expr.html.en
@@ -319,21 +319,38 @@ listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
<h2><a name="unnop" id="unnop">Unary operators</a></h2>
- <p>Unary operators have the form "<code>-[a-zA-Z]</code>", i.e. a
- minus and one character. The name <em>is</em> case sensitive.
+ <p>Unary operators take one argument and have the form
+ "<code>-[a-zA-Z]</code>", i.e. a minus and one character.
+ The name <em>is</em> case sensitive.
Modules may register additional unary operators.</p>
<table class="bordered"><tr class="header"><th>Name</th><th>Description</th></tr>
<tr><td><code>-d</code></td>
- <td>True if file exists and is a directory</td></tr>
+ <td>The argument is treated as a filename.
+ True if the file exists and is a directory</td></tr>
<tr class="odd"><td><code>-e</code></td>
- <td>True if file (or dir or special) exists</td></tr>
+ <td>The argument is treated as a filename.
+ True if the file (or dir or special) exists</td></tr>
<tr><td><code>-f</code></td>
- <td>True if file exists and is regular file</td></tr>
+ <td>The argument is treated as a filename.
+ True if the file exists and is regular file</td></tr>
<tr class="odd"><td><code>-L</code></td>
- <td>True if file exists and is symlink</td></tr>
+ <td>The argument is treated as a filename.
+ True if the file exists and is symlink</td></tr>
<tr><td><code>-h</code></td>
- <td>True if file exists and is symlink (same as <code>-L</code>)</td></tr>
+ <td>The argument is treated as a filename.
+ True if the file exists and is symlink
+ (same as <code>-L</code>)</td></tr>
+<tr class="odd"><td><code>-F</code></td>
+ <td>True if string is a valid file, accessible via all the server's
+ currently-configured access controls for that path. This uses an
+ internal subrequest to do the check, so use it with care - it can
+ impact your server's performance!</td></tr>
+<tr><td><code>-U</code></td>
+ <td>True if string is a valid URL, accessible via all the server's
+ currently-configured access controls for that path. This uses an
+ internal subrequest to do the check, so use it with care - it can
+ impact your server's performance!</td></tr>
<tr class="odd"><td><code>-n</code></td>
<td>True if string is not empty</td></tr>
<tr><td><code>-z</code></td>