summaryrefslogtreecommitdiffstats
path: root/docs/manual/custom-error.xml
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-04-26 16:43:33 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-04-26 16:43:33 +0200
commit74e009ce0a1fda0fd56efb8a573beeece725f810 (patch)
tree9b0601a33881aafe525ac43fed28cd120b8b9a94 /docs/manual/custom-error.xml
parentsyntax for misc/ and platform/ (diff)
downloadapache2-74e009ce0a1fda0fd56efb8a573beeece725f810.tar.xz
apache2-74e009ce0a1fda0fd56efb8a573beeece725f810.zip
Syntax for files in /
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/custom-error.xml')
-rw-r--r--docs/manual/custom-error.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/manual/custom-error.xml b/docs/manual/custom-error.xml
index 0409f4af2c..da6159396d 100644
--- a/docs/manual/custom-error.xml
+++ b/docs/manual/custom-error.xml
@@ -55,19 +55,19 @@
if <directive module="core">AllowOverride</directive> is set to
FileInfo.</p>
- <example>
- ErrorDocument 500 "Sorry, our script crashed. Oh dear"<br />
- ErrorDocument 500 /cgi-bin/crash-recover<br />
- ErrorDocument 500 http://error.example.com/server_error.html<br />
- ErrorDocument 404 /errors/not_found.html <br />
- ErrorDocument 401 /subscription/how_to_subscribe.html
- </example>
+ <highlight language="config">
+ErrorDocument 500 "Sorry, our script crashed. Oh dear"<br />
+ErrorDocument 500 /cgi-bin/crash-recover<br />
+ErrorDocument 500 http://error.example.com/server_error.html<br />
+ErrorDocument 404 /errors/not_found.html <br />
+ErrorDocument 401 /subscription/how_to_subscribe.html
+ </highlight>
<p>The syntax of the <code>ErrorDocument</code> directive is:</p>
- <example>
+ <highlight language="config">
ErrorDocument &lt;3-digit-code&gt; &lt;action&gt;
- </example>
+ </highlight>
<p>where the action will be treated as:</p>