Many thanks to Tim, Arup, Stephen and Aaron for three different
solutions (per-directory, per-application and per-Tomcat), *all*
of which I reckon oughta be in the FAQ :)
cheers
Paul Singleton
My JSP app has a /images folder and Tomcat 5.5.9 happily
serves up a directory listing of this: how
My JSP app has a /images folder and Tomcat 5.5.9 happily
serves up a directory listing of this: how can I suppress
this?
Paul Singleton
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 3/Aug/2005
http://jakarta.apache.org/tomcat/faq/misc.html#listing
-Tim
Paul Singleton wrote:
My JSP app has a /images folder and Tomcat 5.5.9 happily
serves up a directory listing of this: how can I suppress
this?
Paul Singleton
-
: Paul Singleton [mailto:[EMAIL PROTECTED]
Sent: 04 August 2005 17:00
To: Tomcat Users List
Subject: suppress directory listing
My JSP app has a /images folder and Tomcat 5.5.9 happily serves up a
directory listing of this: how can I suppress this?
Paul Singleton
--
No virus found in this outgoing
Paul,
My JSP app has a /images folder and Tomcat 5.5.9 happily serves up
a directory listing of this: how can I suppress this?
Just add a filed named, index.html, to the directory. You can put
whatever you want in the file. I often put, Access Prohibited or
some such thing.
Stephen
614.456.3492
-Original Message-
From: Stephen Caine [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 12:33 PM
To: Tomcat Users List
Subject: Re: suppress directory listing
Paul,
My JSP app has a /images folder and Tomcat 5.5.9 happily serves up
a directory listing of this: how can I
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
You can suppress directory indexes in the $CATALINA_HOME/conf/web.xml
file. See the listings init parameter for the default servlet.
Read my previous post.
You have complete control over which requests your filter
: Marc Mendez [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 9:12 AM
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
You can suppress directory indexes
Marc, in the message title you say you want to suppress directory listings,
but in the content, you speak about preventing access to some directories.
These are two completely different things.
Almost all responses you are receiving are directed to the first issue, that
is, preventing Tomcat from
Hi,
I browse the archive, but I found just a part of the answer.
I use Tomcat standalone (the app will run under tomcat 3.x and 4.x). I want
to prevent access to directories, but I just want to configure this in the
web.xml file of my app, nowhere else !
As u see below, the web.xml is quite
Hi,
Yes, but it means that I change the behaviour of the others app !
- Original Message -
From: Kiev [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:55 PM
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
If you
Opps, I have tested this in the conf/web.xml file : no effect !
init-param
param-namelistings/param-name
param-valuefalse/param-value
/init-param
Kiev
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
other ways
John
-Original Message-
From: Marc Mendez [mailto:mendez;lug.com]
Sent: Tuesday, November 05, 2002 11:16 AM
To: Tomcat Users List
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
Opps, I have tested this in the conf/web.xml file : no effect
- Original Message -
From: Turner, John [EMAIL PROTECTED]
Did you search the archives? This topic has come up several times before.
Do some research!
And... do read my posts !
1. I browsed the archive
2. The solutions does not work.
I want to change the web.xml of the app.
I
web.xml.
John
-Original Message-
From: Marc Mendez [mailto:mendez;lug.com]
Sent: Tuesday, November 05, 2002 11:38 AM
To: Tomcat Users List
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
- Original Message -
From: Turner, John [EMAIL PROTECTED
On Tue, 5 Nov 2002, Marc Mendez wrote:
Date: Tue, 5 Nov 2002 18:13:08 +0100
From: Marc Mendez [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
Stick a file
-Original Message-
From: Marc Mendez [mailto:mendez;lug.com]
Sent: Tuesday, November 05, 2002 12:13 PM
To: Tomcat Users List
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
Stick a file called index.html in the directory where you
want listings
On Tue, 5 Nov 2002, Marc Mendez wrote:
- Original Message -
From: Turner, John [EMAIL PROTECTED]
Did you search the archives? This topic has come up several times
before. Do some research!
And... do read my posts !
1. I browsed the archive
2. The solutions does not work.
Mendez [mailto:mendez;lug.com]
Sent: Tuesday, November 05, 2002 11:38 AM
To: Tomcat Users List
Subject: Re: Standalone Tomcat : suppress directory listing in web.xml
- Original Message -
From: Turner, John [EMAIL PROTECTED]
Did you search the archives? This topic has
19 matches
Mail list logo