From 5466b0c6c69dd899482554ee7bfee961846de47e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Mon, 12 Apr 2004 19:21:13 +0000 Subject: [PATCH] update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103367 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 15 +++++++++++++++ docs/manual/mod/core.xml.de | 2 +- docs/manual/mod/core.xml.ja | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 927aae5465..a74fa7e33d 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -934,6 +934,21 @@ in case of an error ErrorDocument 403 "Sorry can't allow you access today"

+

Additionally, the special value default can be used + to specify Apache's simple hardcoded message. While not required + under normal circumstances, default will restore + Apache's simple hardcoded message for configurations that would + otherwise inherit an existing ErrorDocument.

+ +

+ ErrorDocument 404 /cgi-bin/bad_urls.pl

+ <Directory /web/docs>
+ + ErrorDocument 404 default
+
+ </Directory> +

+

Note that when you specify an ErrorDocument that points to a remote URL (ie. anything with a method such as http in front of it), Apache will send a redirect to the diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index fa166f9049..5232611808 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -1,7 +1,7 @@ - + +