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 Jul 2004 17:08:01 GMT
geoff       2004/07/12 10:08:01

  Modified:    docs/manual/mod Tag: APACHE_2_0_BRANCH core.xml
  Log:
  add "ErrorDocument 404 default" description
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.46.2.37 +16 -1     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.46.2.36
  retrieving revision 1.46.2.37
  diff -u -r1.46.2.36 -r1.46.2.37
  --- core.xml	5 May 2004 03:29:05 -0000	1.46.2.36
  +++ core.xml	12 Jul 2004 17:08:01 -0000	1.46.2.37
  @@ -893,6 +893,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