This is a discussion on deny tomcat directory listings within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, running a standalone version of tomcat for an internal app - no apache involved. I've been searching for a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
running a standalone version of tomcat for an internal app - no apache involved. I've been searching for a way to disable directory listings, but so far have come up empty on Google and the Jakarta pages. I did see a reference on google to modify servers.xml and change an entry for RequestInterceptor or some such -- but I have no such entry. Any ideas, links or pointers? Thanks! jef |
|
|||
|
Jef, in your main web.xml file there is a an option to turn off directory
listing. I believe it's defaulted to true which I don't understand, but once you set it to false, you should be good to go. On Mon, 27 Oct 2003 16:16:16 -0500, jef <jef@here.com> wrote: > Hi, > > running a standalone version of tomcat for an internal app - no apache > involved. I've been searching for a way to disable directory listings, > but > so far have come up empty on Google and the Jakarta pages. > > I did see a reference on google to modify servers.xml and change an entry > for RequestInterceptor or some such -- but I have no such entry. > > Any ideas, links or pointers? Thanks! > > jef -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
|
|||
|
On Tue, 28 Oct 2003 05:49:43 +0000, Larry McFarlane wrote:
> Jef, in your main web.xml file there is a an option to turn off > directory listing. I believe it's defaulted to true which I don't > understand, but once you set it to false, you should be good to go. Bingo! There it was, indeed. Thanks a bunch. I don't know why they don't cover some of this stuff in the docs... If these XML files were a tad easier to read, I wouldn't have had to bug anyone about it :) Thanks again Larry. jef |