Hello All,
I want to prevent Tomcat from displaying the file system contents, BUT I want it to be able to path to a webapp called /counter.
So what I mean is that I would like people to access the webapp: /counter, but I DON'T want to them to be able to type in their browser:
http://<servername>/counter/images
and get to see all the images from the file system. Obviously I want to be able to serve the images that tomcat will use to build the pages...just not straight from the URL as requested by an external user.
--->This is my setup:
My setup is:
Apache2 ---> Apache/TomcatJK2 Connector---> Tomcat4
So either answer, be it from the Apache2 Gurus or the Tomcat4 Gurus can help...
1) How can I block this from within Apache2?
2) How can I block this from within Tomcat4?
...and yet a 3rd option...
3) How can I block this from the JK2 connector (workers2.properties)?
Any thoughts?