summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Slive <slive@apache.org>2005-05-03 19:09:19 +0000
committerJoshua Slive <slive@apache.org>2005-05-03 19:09:19 +0000
commit242f415b5b179e3983dede14ee36127479ff9ce3 (patch)
treebd949593cd0b1b43414bd2c26a35e923a906fe92
parente2188d84a3bd7303ba24a203204e340f200230c9 (diff)
downloadhttpd-242f415b5b179e3983dede14ee36127479ff9ce3.tar.gz
Two clarifications of ErrorDocument:
1. /-rooted paths are relative to DocumentRoot. 2. Bad requests will sometimes ignore ErrorDocument. PR: 27352 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@167959 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/mod/core.xml15
-rw-r--r--docs/manual/mod/mod_log_config.html.en2
-rw-r--r--docs/manual/mod/mod_log_config.xml.ja2
-rw-r--r--docs/manual/mod/mod_log_config.xml.ko2
4 files changed, 15 insertions, 6 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index b38a20949e..4a9eb1c63c 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -903,9 +903,10 @@ in case of an error</description>
or a message. Apache will sometimes offer additional information
regarding the problem/error.</p>
- <p>URLs can begin with a slash (/) for local URLs, or be a full
- URL which the client can resolve. Alternatively, a message can
- be provided to be displayed by the browser. Examples:</p>
+ <p>URLs can begin with a slash (/) for local web-paths (relative
+ to the <directive module="core">DocumentRoot</directive>), or be a
+ full URL which the client can resolve. Alternatively, a message
+ can be provided to be displayed by the browser. Examples:</p>
<example>
ErrorDocument 500 http://foo.example.com/cgi-bin/tester<br />
@@ -955,6 +956,14 @@ in case of an error</description>
href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807"
>Q294807</a>.</p>
+ <p>Although most error messages can be overriden, there are certain
+ circumstances where the internal messages are used regardless of the
+ setting of <directive module="core">ErrorDocument</directive>. In
+ particular, if a malformed request is detected, normal request processing
+ will be immediately halted and the internal error message returned.
+ This is necessary to guard against security problems caused by
+ bad requests.</p>
+
<p>Prior to version 2.0, messages were indicated by prefixing
them with a single unmatched double quote character.</p>
</usage>
diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en
index 454040bd89..47167a740f 100644
--- a/docs/manual/mod/mod_log_config.html.en
+++ b/docs/manual/mod/mod_log_config.html.en
@@ -136,7 +136,7 @@
the status of the *original* request --- <code>%...&gt;s</code>
for the last.</td></tr>
<tr><td><code>%...t</code></td>
- <td>Time, in common log format time format (standard english
+ <td>Time the request was received (standard english
format)</td></tr>
<tr class="odd"><td><code>%...{<var>format</var>}t</code></td>
<td>The time, in the form given by format, which should be in
diff --git a/docs/manual/mod/mod_log_config.xml.ja b/docs/manual/mod/mod_log_config.xml.ja
index b9a31504d4..2df340b953 100644
--- a/docs/manual/mod/mod_log_config.xml.ja
+++ b/docs/manual/mod/mod_log_config.xml.ja
@@ -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: 151408:164424 (outdated) -->
+<!-- English Revision: 151408:165671 (outdated) -->
<!--
Copyright 2002-2005 The Apache Software Foundation or its licensors, as
diff --git a/docs/manual/mod/mod_log_config.xml.ko b/docs/manual/mod/mod_log_config.xml.ko
index 3c5e83a9d8..9c3008b2ff 100644
--- a/docs/manual/mod/mod_log_config.xml.ko
+++ b/docs/manual/mod/mod_log_config.xml.ko
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:164424 (outdated) -->
+<!-- English Revision: 105989:165671 (outdated) -->
<!--
Copyright 2004-2005 The Apache Software Foundation or its licensors,