On 07.07.2016 15:05, Konstantin Kolinko wrote:
2016-07-07 12:57 GMT+03:00 Amit Pande <amit.pa...@veritas.com>:
Hello all,
In my server.xml, within in single Service element,
I have two HTTP connectors defined listening on two different ports (12345
& 54321 for example).
It is possible to apply the remote address/host filter so that request to
one of the ports (12345) are allowed only via localhost ? And requests to
other port (54321) are allowed from everywhere.
Or do I need to configure multiple service elements for this type of
requirement ?
It is possible to filter by port number, see "addConnectorPort"
attribute of the valve,
http://tomcat.apache.org/tomcat-8.0-doc/config/valve.html#Remote_Address_Filter
Yes, but what the OP wants to do, finally, is to filter accesses to some
/applications/.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org