On Wed, 31 Jul 2002, Nikolas A. Rathert wrote:

> Date: Wed, 31 Jul 2002 14:51:08 +0200
> From: Nikolas A. Rathert <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: Suppression of directory listing in Tomcat
>
> Thanks, that is it. I did not see that you meant the web.xml residing
> within /conf.
> ;)
>

There really is a web.xml file in "conf".  It establishes default values
for *all* web applications running in a Tomcat instance, and is processed
before your own web.xml is read.

Craig


> Andrew Conrad wrote:
> > %CATALINA%\conf\web.xml
> >
> > <servlet>
> >     <init-param>
> >             <param-name>listings</param-name>
> >             <param-value>false</param-value>
> >     </init-param>
> > </servlet>
> >
> > - Andrew Conrad
> >
> >
> >>-----Original Message-----
> >>From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
> >>Sent: Wednesday, July 31, 2002 6:25 AM
> >>To: [EMAIL PROTECTED]
> >>Subject: Suppression of directory listing in Tomcat
> >>
> >>
> >>Hi - I just posted some hours ago.
> >>Could anybody give me a hint for my problem please: how do I
> >>have to configure server.xml or whatever to tell Tomcat that
> >>it should not show the complete directory to the user in case
> >>there is no index.html or something like that in the
> >>directory? I know how to handle that with Apache but the
> >>htdocs directory has nothing to do with Tomcats webapps.
> >>Therefore, there has to be another solution.
> >>
> >>Cheers,
> >>
> >>Nick
> >>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >><mailto:tomcat-user-> [EMAIL PROTECTED]>
> >>For
> >>additional commands,
> >>e-mail: <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to