You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2012/05/31 03:54:40 UTC
svn commit: r1344529 - in /tomcat/tc7.0.x/trunk: ./
webapps/docs/config/filter.xml webapps/docs/config/valve.xml
Author: kkolinko
Date: Thu May 31 01:54:39 2012
New Revision: 1344529
URL: http://svn.apache.org/viewvc?rev=1344529&view=rev
Log:
Merged revision 1344528 from tomcat/trunk:
Note that Remote Host Valve|Filter needs enableLookups being enabled on a Connector.
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/webapps/docs/config/filter.xml
tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1344528
Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/filter.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/filter.xml?rev=1344529&r1=1344528&r2=1344529&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/config/filter.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/config/filter.xml Thu May 31 01:54:39 2012
@@ -622,7 +622,13 @@ FINE: Request "/docs/config/manager.html
package. Please consult the Java documentation for details of the
expressions supported.</p>
- <p>See also: <a href="#Remote_Address_Filter">Remote Address Filter</a>.</p>
+ <p><strong>Note:</strong> This filter processes the value returned by
+ method <code>ServletRequest.getRemoteHost()</code>. To allow the method
+ to return proper host names, you have to enable "DNS lookups" feature on
+ a <strong>Connector</strong>.</p>
+
+ <p>See also: <a href="#Remote_Address_Filter">Remote Address Filter</a>,
+ <a href="http.html">HTTP Connector</a> configuration.</p>
</subsection>
<subsection name="Filter Class Name">
Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml?rev=1344529&r1=1344528&r2=1344529&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml Thu May 31 01:54:39 2012
@@ -594,7 +594,13 @@
package. Please consult the Java documentation for details of the
expressions supported.</p>
- <p>See also: <a href="#Remote_Address_Filter">Remote Address Filter</a>.</p>
+ <p><strong>Note:</strong> This filter processes the value returned by
+ method <code>ServletRequest.getRemoteHost()</code>. To allow the method
+ to return proper host names, you have to enable "DNS lookups" feature on
+ a <strong>Connector</strong>.</p>
+
+ <p>See also: <a href="#Remote_Address_Filter">Remote Address Filter</a>,
+ <a href="http.html">HTTP Connector</a> configuration.</p>
</subsection>
<subsection name="Attributes">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org