|
From: Greg W. <gr...@mo...> - 2003-12-03 21:20:26
|
Now we wouldn't be trying to get security by obscurity now would we :-) As Chris and Joe have said, you simple need to register a context at / Simplest thing to do is to create an empty directory called 'root' in the webapps directory. This will create a / context and 404 every request to it. cheers William S. wrote: > I am using Jetty as a container for Forrest. > All is OK with the way it is serving up > content deployed as war files. > > I would like to reduce the detail of the "Error 404" > page that is displayed at the server root so it does not > report: > > "Contexts known to this server are:" > > I still want to keep the 404 error if someone strays > into the root but don't want the rest. How do I change > it? > > Thank you, > |