]> granicus.if.org Git - apache/commitdiff
update transformation
authorAndré Malo <nd@apache.org>
Mon, 12 Apr 2004 19:21:13 +0000 (19:21 +0000)
committerAndré Malo <nd@apache.org>
Mon, 12 Apr 2004 19:21:13 +0000 (19:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103367 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html.en
docs/manual/mod/core.xml.de
docs/manual/mod/core.xml.ja

index 927aae5465c9ed3d3c814bcf88ef9c193a2e5267..a74fa7e33d2ec4f4246827216dd30312d19ba7d7 100644 (file)
@@ -934,6 +934,21 @@ in case of an error</td></tr>
       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 />
+      &lt;Directory /web/docs&gt;<br />
+      <span class="indent">
+        ErrorDocument 404 default<br />
+      </span>
+      &lt;/Directory&gt;
+    </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
index fa166f9049070fac6fb77bae3e5e3017dd79b99f..523261180874c3fabe31d54c72336417c820a866 100644 (file)
@@ -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
index 6ea2d698b583918f3967b8377f7cd1992e1f0faf..2c4e47500b8bd18bf0b25aa1e3d0c0685982c4ca 100644 (file)
@@ -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