Commit e4b01521 authored by Geoffrey Young's avatar Geoffrey Young
Browse files

add "ErrorDocument 404 default" description

parent 717c68db
Loading
Loading
Loading
Loading
+16 −1
Changes for docs/manual/mod/core.xml: 16 added lines, 1 removed line.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
<!-- $Revision: 1.46.2.36 $ -->
<!-- $Revision: 1.46.2.37 $ -->

<!--
 Copyright 2002-2004 The Apache Software Foundation
@@ -893,6 +893,21 @@ in case of an error</description>
      ErrorDocument 403 "Sorry can't allow you access today"
    </example>

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

    <example>
      ErrorDocument 404 /cgi-bin/bad_urls.pl<br /><br />
      &lt;Directory /web/docs&gt;<br />
      <indent>
        ErrorDocument 404 default<br />
      </indent>
      &lt;/Directory&gt;
    </example>

    <p>Note that when you specify an <directive>ErrorDocument</directive>
    that points to a remote URL (ie. anything with a method such as
    <code>http</code> in front of it), Apache will send a redirect to the