summaryrefslogtreecommitdiff
path: root/docs/manual/custom-error.xml
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-10-23 22:09:34 +0000
committerStefan Fritsch <sf@apache.org>2011-10-23 22:09:34 +0000
commit369db0d390f7a4859810cb2d02214894b6bf786f (patch)
treea31cace60ce9881c57c4836e310c59f8192d002d /docs/manual/custom-error.xml
parent4db71797ea519098646358ba3b2c6a97f2d6d4fc (diff)
downloadhttpd-369db0d390f7a4859810cb2d02214894b6bf786f.tar.gz
Clarify how ErrorDocument interprets argument
PR: 42430 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1187986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/custom-error.xml')
-rw-r--r--docs/manual/custom-error.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/manual/custom-error.xml b/docs/manual/custom-error.xml
index c62ab13247..083928b7e2 100644
--- a/docs/manual/custom-error.xml
+++ b/docs/manual/custom-error.xml
@@ -69,12 +69,13 @@
ErrorDocument &lt;3-digit-code&gt; &lt;action&gt;
</example>
- <p>where the action can be one of:</p>
+ <p>where the action will be treated as:</p>
<ol>
- <li>Text to be displayed. Wrap the text with quotes (").</li>
- <li>A local URL to redirect to.</li>
- <li>An external URL to redirect to.</li>
+ <li>A local URL to redirect to (if the action begins with a "/").</li>
+ <li>An external URL to redirect to (if the action is a valid URL).</li>
+ <li>Text to be displayed (if none of the above). The text must be
+ wrapped in quotes (") if it consists of more than one word.</li>
</ol>
<p>When redirecting to a local URL, additional environment variables