Malcom,
lurking around in the source (Tomcat 3.2.1) I found some undocumented
parameters that can be put in server.xml.

Use something like this:
                <Connector className="org.apache.tomcat.service.PoolTcpConnector">
                        <Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
                        <Parameter name="vhost_address" value="127.0.0.1"/>
                        <Parameter name="port" value="8007"/>
                </Connector>

note the vhost_address parameter.
This parameter will tell the connector to listen only on the interface
127.0.0.1, instead of the default, which is to listen on
any network interface.

Hope this will help.

PS It'd be nice to see an access restriction mechanism that allows incoming
connection only from specific IP addresses, for security reasons. I Hope
something like this is on the way on Tomcat 4.



____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to