From: markt Date: Thu, 16 Jul 2009 19:36:03 +0000 (+0000) Subject: Add the docs I forgot in the previous GSOC commit X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=256d471607a817eb5ad20a47a50a78849f4a9243;p=tomcat7.0 Add the docs I forgot in the previous GSOC commit git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@794800 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/config/filter.xml b/webapps/docs/config/filter.xml index 8322823d3..95c77b379 100644 --- a/webapps/docs/config/filter.xml +++ b/webapps/docs/config/filter.xml @@ -114,6 +114,116 @@ +
+ + + +

The Remote Address Filter allows you to compare the + IP address of the client that submitted this request against one or more + regular expressions, and either allow the request to continue + or refuse to process the request from this client.

+ +

The syntax for regular expressions is different than that for + 'standard' wildcard matching. Tomcat uses the java.util.regex + package. Please consult the Java documentation for details of the + expressions supported.

+ +
+ + + +

The filter class name for the Remote Address Filter is + org.apache.catalina.filters.RemoteAddrFilter + .

+ +
+ + + +

The Remote Address Filter supports the following + initialisation parameters:

+ + + + +

A comma-separated list of regular expression patterns + that the remote client's IP address is compared to. If this attribute + is specified, the remote address MUST match for this request to be + accepted. If this attribute is not specified, all requests will be + accepted UNLESS the remote address matches a deny + pattern.

+
+ + +

A comma-separated list of regular expression patterns + that the remote client's IP address is compared to. If this attribute + is specified, the remote address MUST NOT match for this request to be + accepted. If this attribute is not specified, request acceptance is + governed solely by the accept attribute.

+
+ +
+ +
+ +
+ + +
+ + + +

The Remote Host Filter allows you to compare the + hostname of the client that submitted this request against one or more + regular expressions, and either allow the request to continue + or refuse to process the request from this client.

+ +

The syntax for regular expressions is different than that for + 'standard' wildcard matching. Tomcat uses the java.util.regex + package. Please consult the Java documentation for details of the + expressions supported.

+ +
+ + + +

The filter class name for the Remote Address Filter is + org.apache.catalina.filters.RemoteHostFilter + .

+ +
+ + + +

The Remote Host Filter supports the following + initialisation parameters:

+ + + + +

A comma-separated list of regular expression patterns + that the remote client's hostname is compared to. If this attribute + is specified, the remote hostname MUST match for this request to be + accepted. If this attribute is not specified, all requests will be + accepted UNLESS the remote hostname matches a deny + pattern.

+
+ + +

A comma-separated list of regular expression patterns + that the remote client's hostname is compared to. If this attribute + is specified, the remote hostname MUST NOT match for this request to be + accepted. If this attribute is not specified, request acceptance is + governed solely by the accept attribute.

+
+ +
+ +
+ +
+ +