Author: kkolinko Date: Thu May 31 01:52:37 2012 New Revision: 1344528 URL: http://svn.apache.org/viewvc?rev=1344528&view=rev Log: Note that Remote Host Valve|Filter needs enableLookups being enabled on a Connector.
Modified: tomcat/trunk/webapps/docs/config/filter.xml tomcat/trunk/webapps/docs/config/valve.xml Modified: tomcat/trunk/webapps/docs/config/filter.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/filter.xml?rev=1344528&r1=1344527&r2=1344528&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/filter.xml (original) +++ tomcat/trunk/webapps/docs/config/filter.xml Thu May 31 01:52:37 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/trunk/webapps/docs/config/valve.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/valve.xml?rev=1344528&r1=1344527&r2=1344528&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/valve.xml (original) +++ tomcat/trunk/webapps/docs/config/valve.xml Thu May 31 01:52:37 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org