Disabling all but the production context

2004-12-30 Thread Jonck van der Kogel
Hi, This must get asked all the time, but I've searched very intently and have not been able to find how to do this. What I would like, is that the only reachable context on my server is the production context. So let's say my domain is www.example.com, and my web-app can be reached at

Re: Disabling all but the production context

2004-12-30 Thread Tim Funk
The easiest thing to do is to create/add a filter for the webapps which perform the ACL controls you need. For example: I have some utilities called servlet utils here: http://funkman.home.comcast.net/servletutils-0.2/ The following example returns 403 for any request where the remoteaddress !=

Re: Disabling all but the production context

2004-12-30 Thread Jonck van der Kogel
Hi Tim, Thanks for your reply, I did what you said, however, when I try to load the page now it gives the following error: description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could not evaluate