I'm running TOMCAT server. Due security reasons I have to limit access to localhost only but one app have to be accessible from outside (any IP). I tryed using the valve placed in server.xml but I was only able to block access to specific functions / apps like host-manager.
How to limit all but one app?
EDIT: This line inside server.xml blocks everything except localhost:
<Server>
<Service>
<Engine>
<Host>
...
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1"/>
</Host>
</Engine>
</Service>
</Server>
How to add exception for one app that has to be accessible from outside?
Thanks for help in advance :-)