From: Joshua Slive Date: Mon, 22 Mar 2004 22:06:55 +0000 (+0000) Subject: Document the ability to look at original of final subrequest. X-Git-Tag: pre_ajp_proxy~474 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fff70685e9bbcc35fc094afe22210f8e87f7730d;p=apache Document the ability to look at original of final subrequest. I'd appreciate a review from someone more familiar with mod_log_config! PR: 27319 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103086 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 dcb0026b4b..0ea63a07e4 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -187,6 +187,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 e9c328175c..2942cdeb7b 100644 --- a/docs/manual/mod/mod_log_config.xml +++ b/docs/manual/mod/mod_log_config.xml @@ -209,6 +209,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