You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/04/12 21:21:14 UTC
cvs commit: httpd-2.0/docs/manual/mod core.html.en core.xml.de core.xml.ja
nd 2004/04/12 12:21:13
Modified: docs/manual/mod core.html.en core.xml.de core.xml.ja
Log:
update transformation
Revision Changes Path
1.91 +15 -0 httpd-2.0/docs/manual/mod/core.html.en
Index: core.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.html.en,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -u -r1.90 -r1.91
--- core.html.en 10 Apr 2004 22:15:39 -0000 1.90
+++ core.html.en 12 Apr 2004 19:21:13 -0000 1.91
@@ -934,6 +934,21 @@
ErrorDocument 403 "Sorry can't allow you access today"
</code></p></div>
+ <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 <code class="directive">ErrorDocument</code>.</p>
+
+ <div class="example"><p><code>
+ ErrorDocument 404 /cgi-bin/bad_urls.pl<br /><br />
+ <Directory /web/docs><br />
+ <span class="indent">
+ ErrorDocument 404 default<br />
+ </span>
+ </Directory>
+ </code></p></div>
+
<p>Note that when you specify an <code class="directive">ErrorDocument</code>
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
1.21 +1 -1 httpd-2.0/docs/manual/mod/core.xml.de
Index: core.xml.de
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml.de,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -u -r1.20 -r1.21
--- core.xml.de 10 Apr 2004 22:15:39 -0000 1.20
+++ core.xml.de 12 Apr 2004 19:21:13 -0000 1.21
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 1.81 (outdated: 1.82) -->
+<!-- English Revision: 1.81 (outdated: 1.83) -->
<!--
Copyright 2003-2004 The Apache Software Foundation
1.7 +1 -1 httpd-2.0/docs/manual/mod/core.xml.ja
Index: core.xml.ja
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml.ja,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -u -r1.6 -r1.7
--- core.xml.ja 10 Apr 2004 22:15:39 -0000 1.6
+++ core.xml.ja 12 Apr 2004 19:21:13 -0000 1.7
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 1.80 (outdated: 1.82) -->
+<!-- English Revision: 1.80 (outdated: 1.83) -->
<!--
Copyright 2003-2004 The Apache Software Foundation