From: Joshua Slive
Date: Tue, 3 May 2005 19:09:19 +0000 (+0000)
Subject: Two clarifications of ErrorDocument:
X-Git-Tag: 2.1.5~143
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=242f415b5b179e3983dede14ee36127479ff9ce3;p=thirdparty%2Fapache%2Fhttpd.git
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
---
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index b38a20949ea..4a9eb1c63ca 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -903,9 +903,10 @@ in case of an error
or a message. Apache will sometimes offer additional information
regarding the problem/error.
- 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:
+ URLs can begin with a slash (/) for local web-paths (relative
+ to the DocumentRoot), or be a
+ full URL which the client can resolve. Alternatively, a message
+ can be provided to be displayed by the browser. Examples:
ErrorDocument 500 http://foo.example.com/cgi-bin/tester
@@ -955,6 +956,14 @@ in case of an error
href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807"
>Q294807.
+ Although most error messages can be overriden, there are certain
+ circumstances where the internal messages are used regardless of the
+ setting of ErrorDocument. 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.
+
Prior to version 2.0, messages were indicated by prefixing
them with a single unmatched double quote character.
diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en
index 454040bd890..47167a740f7 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 --- %...>s
for the last.
%...t |
- Time, in common log format time format (standard english
+ | Time the request was received (standard english
format) |
%...{format}t |
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 b9a31504d49..2df340b9530 100644
--- a/docs/manual/mod/mod_log_config.xml.ja
+++ b/docs/manual/mod/mod_log_config.xml.ja
@@ -1,7 +1,7 @@
-
+
+
|