From: Geoffrey Young Date: Mon, 12 Apr 2004 17:52:19 +0000 (+0000) Subject: add "ErrorDocument 404 default" description X-Git-Tag: pre_ajp_proxy~377 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61fe8a58fc4c00146f4b3f6a82b733b516209aa1;p=apache add "ErrorDocument 404 default" description git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103363 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 46fb551537..eab7d2c36e 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -890,6 +890,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