httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/mod core.xml
Date Mon, 12 Apr 2004 17:52:19 GMT
geoff       2004/04/12 10:52:19

  Modified:    docs/manual/mod core.xml
  Log:
  add "ErrorDocument 404 default" description
  
  Revision  Changes    Path
  1.83      +15 -0     httpd-2.0/docs/manual/mod/core.xml
  
  Index: core.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml,v
  retrieving revision 1.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- core.xml	10 Apr 2004 22:09:47 -0000	1.82
  +++ core.xml	12 Apr 2004 17:52:19 -0000	1.83
  @@ -890,6 +890,21 @@
         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
  
  
  

Mime
View raw message