Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Restricting access to Tomcat

Edward Quick

2006-04-28

Replies:

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?

Thanks,

Ed.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.