From: Joshua Slive Date: Tue, 23 Mar 2004 18:00:25 +0000 (+0000) Subject: Backport: X-Git-Tag: 2.0.50~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98ac25e7e3188dcaa8fe48fec5a6fc9bca53781f;p=thirdparty%2Fapache%2Fhttpd.git Backport: Document the ability to look at original of final subrequest. I'd appreciate a review from someone more familiar with mod_log_config! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103102 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en index 2f20afa4f99..f14b84ab129 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -185,6 +185,17 @@ "%!200,304,302{Referer}i" logs Referer: on all requests which did not return some sort of normal status.

+

The modifiers "<" and ">" can be used for requests that + have been internally redirected to choose whether the original or + final (respectively) request should be consulted. By default, the + % directives %s, %U, %T, %D, and + %r look at the original request while all others look + at the final request. So for example, %>s can be + used to record the final status of the request and + %<u can be used to record the original + authenticated user on a request that is internally redirect to an + unauthenticated resource.

+

Note that in httpd 2.0 versions prior to 2.0.46, no escaping was performed on the strings from %...r, %...i and %...o. This was mainly to comply with the requirements of diff --git a/docs/manual/mod/mod_log_config.xml b/docs/manual/mod/mod_log_config.xml index 05d1a4b9aa0..e6dd6c522b8 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -207,6 +207,17 @@ "%!200,304,302{Referer}i" logs Referer: on all requests which did not return some sort of normal status.

+

The modifiers "<" and ">" can be used for requests that + have been internally redirected to choose whether the original or + final (respectively) request should be consulted. By default, the + % directives %s, %U, %T, %D, and + %r look at the original request while all others look + at the final request. So for example, %>s can be + used to record the final status of the request and + %<u can be used to record the original + authenticated user on a request that is internally redirect to an + unauthenticated resource.

+

Note that in httpd 2.0 versions prior to 2.0.46, no escaping was performed on the strings from %...r, %...i and %...o. This was mainly to comply with the requirements of