You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/03/04 14:57:21 UTC

svn commit: r1663995 - /tomcat/trunk/webapps/docs/config/valve.xml

Author: markt
Date: Wed Mar  4 13:57:21 2015
New Revision: 1663995

URL: http://svn.apache.org/r1663995
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=56058
Add some links to the AccessLogValve to pages on how to configure Tomcat / reverse proxies to log the desired information in the access log.

Modified:
    tomcat/trunk/webapps/docs/config/valve.xml

Modified: tomcat/trunk/webapps/docs/config/valve.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/valve.xml?rev=1663995&r1=1663994&r2=1663995&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/valve.xml (original)
+++ tomcat/trunk/webapps/docs/config/valve.xml Wed Mar  4 13:57:21 2015
@@ -339,6 +339,15 @@
     appends the values of the <code>Referer</code> and <code>User-Agent</code>
     headers, each in double quotes, to the <code>common</code> pattern.</p>
 
+    <p>When Tomcat is operating behind a reverse proxy, the client information
+    logged by the Access Log Valve may represent the reverse proxy, the browser
+    or some combination of the two depending on the configuration of Tomcat and
+    the reverse proxy. For Tomcat configuration options see
+    <a href="#Proxies_Support">Proxies Support</a>. For reverse proxies that
+    use mod_jk, see the <a
+    href="http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html">generic
+    proxy</a> docmentation. For other reverse proxies, consult their
+    documentation.</p>
   </subsection>
 
 </subsection>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1663995 - /tomcat/trunk/webapps/docs/config/valve.xml

Posted by Konstantin Kolinko <kn...@gmail.com>.
2015-03-04 16:57 GMT+03:00  <ma...@apache.org>:
> Author: markt
> Date: Wed Mar  4 13:57:21 2015
> New Revision: 1663995
>
> URL: http://svn.apache.org/r1663995
> Log:
> Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=56058
> Add some links to the AccessLogValve to pages on how to configure Tomcat / reverse proxies to log the desired information in the access log.
>
> Modified:
>     tomcat/trunk/webapps/docs/config/valve.xml
>
> Modified: tomcat/trunk/webapps/docs/config/valve.xml
> URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/valve.xml?rev=1663995&r1=1663994&r2=1663995&view=diff
> ==============================================================================
> --- tomcat/trunk/webapps/docs/config/valve.xml (original)
> +++ tomcat/trunk/webapps/docs/config/valve.xml Wed Mar  4 13:57:21 2015
> @@ -339,6 +339,15 @@
>      appends the values of the <code>Referer</code> and <code>User-Agent</code>
>      headers, each in double quotes, to the <code>common</code> pattern.</p>
>
> +    <p>When Tomcat is operating behind a reverse proxy, the client information
> +    logged by the Access Log Valve may represent the reverse proxy, the browser
> +    or some combination of the two depending on the configuration of Tomcat and
> +    the reverse proxy. For Tomcat configuration options see
> +    <a href="#Proxies_Support">Proxies Support</a>.

A link to a section in the same valve.html...

There also exists  ../proxy-howto.html

> For reverse proxies that
> +    use mod_jk, see the <a
> +    href="http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html">generic
> +    proxy</a> docmentation. For other reverse proxies, consult their

Typo above:  docmentation

> +    documentation.</p>
>    </subsection>
>
>  </subsection>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org