> Hi,
>
> I have an Apache mod_jk Tomcat server set up on the same host, and want to > restrict access to the Tomcat so that only the Apache on the localhost can
> connect to port 8009.
>
> I tried using org.apache.catalina.valves.RemoteAddrValve, with
> allow="127.0.0.1", but the issue is that Tomcat picks up the IP address of
> the client, and not the Apache which is passing traffic onto it.
>
> Is there a way round this?


<Connector port="8009" protocol="AJP/1.3"
               address="127.0.0.1">

Won't that do it?

Chris


I don't think so because that's saying, bind the ajp listener to the localhost. It's not saying restrict access to the ajp listener to localhost.



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

Reply via email to