You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by adi <ad...@myrealbox.com> on 2002/09/19 14:48:59 UTC

How to block listings on a SPECIFIC directory

Hello,

I am trying to enable listing on one directory ( and its children)
only.
the listings parameter set to false or true will affect everything.
is it possible in any way to define "listings" to individual directories in
my webapp?

Adi


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to block listings on a SPECIFIC directory

Posted by Tim Funk <fu...@joedog.org>.
The filter will run as fast as the code you put in it.

adi wrote:
> Thanks for that one.
> Just one more question:
> I assume there is some kind of overhead doing this
> all the requests will be streamed through the filter etc.
> It a serious problem?
> 
> Adi
> 
> -----Original Message-----
> From: Tim Funk [mailto:funkman@joedog.org]
> Sent: Thursday, September 19, 2002 2:10 PM
> To: Tomcat Users List
> Subject: Re: How to block listings on a SPECIFIC directory
> 
> 
> More info:
> http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=servlet+filter
> 
> The definitive reference:
> Java Servlet Specification 2.3 (at java.sun.com)
> Chapter 6: Filters
> 
> 
> adi wrote:
> 
>>what do you mean by writing a filter?
>>In java?
>>Entry in web.xml ?
>>
>>can you please reference me to some reading on 'filters' ?
>>
>>Thanks,
>>Adi
>>
>>
>>-----Original Message-----
>>From: Tim Funk [mailto:funkman@joedog.org]
>>Sent: Thursday, September 19, 2002 1:53 PM
>>To: Tomcat Users List
>>Subject: Re: How to block listings on a SPECIFIC directory
>>
>>
>>Nope  - but you can write a filter to detect that condition and deny
>>access as desired.
>>
>>adi wrote:
>>
>>
>>>Hello,
>>>
>>>I am trying to enable listing on one directory ( and its children)
>>>only.
>>>the listings parameter set to false or true will affect everything.
>>>is it possible in any way to define "listings" to individual directories
>>
>>in
>>
>>
>>>my webapp?
>>>
>>>Adi
>>>
>>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>>
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>>
>>---
>>Outgoing mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>>
>>
>>--
>>To unsubscribe, e-mail:
> 
> <ma...@jakarta.apache.org>
> 
>>For additional commands, e-mail:
> 
> <ma...@jakarta.apache.org>
> 
>>
>>
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by adi <ad...@myrealbox.com>.
Thanks for that one.
Just one more question:
I assume there is some kind of overhead doing this
all the requests will be streamed through the filter etc.
It a serious problem?

Adi

-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org]
Sent: Thursday, September 19, 2002 2:10 PM
To: Tomcat Users List
Subject: Re: How to block listings on a SPECIFIC directory


More info:
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=servlet+filter

The definitive reference:
Java Servlet Specification 2.3 (at java.sun.com)
Chapter 6: Filters


adi wrote:
> what do you mean by writing a filter?
> In java?
> Entry in web.xml ?
>
> can you please reference me to some reading on 'filters' ?
>
> Thanks,
> Adi
>
>
> -----Original Message-----
> From: Tim Funk [mailto:funkman@joedog.org]
> Sent: Thursday, September 19, 2002 1:53 PM
> To: Tomcat Users List
> Subject: Re: How to block listings on a SPECIFIC directory
>
>
> Nope  - but you can write a filter to detect that condition and deny
> access as desired.
>
> adi wrote:
>
>>Hello,
>>
>>I am trying to enable listing on one directory ( and its children)
>>only.
>>the listings parameter set to false or true will affect everything.
>>is it possible in any way to define "listings" to individual directories
>
> in
>
>>my webapp?
>>
>>Adi
>>
>>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to block listings on a SPECIFIC directory

Posted by Tim Funk <fu...@joedog.org>.
More info:
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=servlet+filter

The definitive reference:
Java Servlet Specification 2.3 (at java.sun.com)
Chapter 6: Filters


adi wrote:
> what do you mean by writing a filter?
> In java?
> Entry in web.xml ?
> 
> can you please reference me to some reading on 'filters' ?
> 
> Thanks,
> Adi
> 
> 
> -----Original Message-----
> From: Tim Funk [mailto:funkman@joedog.org]
> Sent: Thursday, September 19, 2002 1:53 PM
> To: Tomcat Users List
> Subject: Re: How to block listings on a SPECIFIC directory
> 
> 
> Nope  - but you can write a filter to detect that condition and deny
> access as desired.
> 
> adi wrote:
> 
>>Hello,
>>
>>I am trying to enable listing on one directory ( and its children)
>>only.
>>the listings parameter set to false or true will affect everything.
>>is it possible in any way to define "listings" to individual directories
> 
> in
> 
>>my webapp?
>>
>>Adi
>>
>>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by adi <ad...@myrealbox.com>.
what do you mean by writing a filter?
In java?
Entry in web.xml ?

can you please reference me to some reading on 'filters' ?

Thanks,
Adi


-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org]
Sent: Thursday, September 19, 2002 1:53 PM
To: Tomcat Users List
Subject: Re: How to block listings on a SPECIFIC directory


Nope  - but you can write a filter to detect that condition and deny
access as desired.

adi wrote:
> Hello,
>
> I am trying to enable listing on one directory ( and its children)
> only.
> the listings parameter set to false or true will affect everything.
> is it possible in any way to define "listings" to individual directories
in
> my webapp?
>
> Adi
>
>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to block listings on a SPECIFIC directory

Posted by Tim Funk <fu...@joedog.org>.
Nope  - but you can write a filter to detect that condition and deny 
access as desired.

adi wrote:
> Hello,
> 
> I am trying to enable listing on one directory ( and its children)
> only.
> the listings parameter set to false or true will affect everything.
> is it possible in any way to define "listings" to individual directories in
> my webapp?
> 
> Adi
> 
>  


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: How to block listings on a SPECIFIC directory

Posted by Padhu Vinirs <p....@verizon.net>.
Shouldnt the code that creates the directories dynamically also make the 
decision of whether the directory is browse-able  or not ? Depending on 
that, then it can copy a default file into each of these directories.

-- padhu



adi wrote:

>new directories are being created dynamically and they should be browsable.
>all the rest shouldnt be
>thats why I can not put index.htm file in every directory
>Any suggestions?
>
>Adi
>
>-----Original Message-----
>From: Sexton, George [mailto:gsexton@mhsoftware.com]
>Sent: Thursday, September 19, 2002 2:21 PM
>To: Tomcat Users List
>Subject: RE: How to block listings on a SPECIFIC directory
>
>
>Hmmm... Why don't you put a file like "index.html" in the directory?
>Assuming you have a welcome files list in your web.xml file, this will be
>displayed. You can then put up a message, and re-direct to where you want
>them to be.
>
>George Sexton
>MH Software, Inc.
>Home of Connect Daily Web Calendar Software
>http://www.mhsoftware.com/connectdaily.htm
>Voice: 303 438 9585
>
>
>-----Original Message-----
>From: adi [mailto:adi0@myrealbox.com]
>Sent: 19 September, 2002 6:49 AM
>To: tomcat-user@jakarta.apache.org
>Subject: How to block listings on a SPECIFIC directory
>
>
>Hello,
>
>I am trying to enable listing on one directory ( and its children)
>only.
>the listings parameter set to false or true will affect everything.
>is it possible in any way to define "listings" to individual directories in
>my webapp?
>
>Adi
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>  
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by adi <ad...@myrealbox.com>.
these directories contain text files that should be avalable for users while
browsing the directory

-----Original Message-----
From: Sexton, George [mailto:gsexton@mhsoftware.com]
Sent: Thursday, September 19, 2002 2:31 PM
To: Tomcat Users List
Subject: RE: How to block listings on a SPECIFIC directory


Do you put static content in these directories?

-----Original Message-----
From: adi [mailto:adi0@myrealbox.com]
Sent: 19 September, 2002 7:26 AM
To: Tomcat Users List
Subject: RE: How to block listings on a SPECIFIC directory


new directories are being created dynamically and they should be browsable.
all the rest shouldnt be
thats why I can not put index.htm file in every directory
Any suggestions?

Adi

-----Original Message-----
From: Sexton, George [mailto:gsexton@mhsoftware.com]
Sent: Thursday, September 19, 2002 2:21 PM
To: Tomcat Users List
Subject: RE: How to block listings on a SPECIFIC directory


Hmmm... Why don't you put a file like "index.html" in the directory?
Assuming you have a welcome files list in your web.xml file, this will be
displayed. You can then put up a message, and re-direct to where you want
them to be.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-----Original Message-----
From: adi [mailto:adi0@myrealbox.com]
Sent: 19 September, 2002 6:49 AM
To: tomcat-user@jakarta.apache.org
Subject: How to block listings on a SPECIFIC directory


Hello,

I am trying to enable listing on one directory ( and its children)
only.
the listings parameter set to false or true will affect everything.
is it possible in any way to define "listings" to individual directories in
my webapp?

Adi


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by "Sexton, George" <gs...@mhsoftware.com>.
Do you put static content in these directories?

-----Original Message-----
From: adi [mailto:adi0@myrealbox.com]
Sent: 19 September, 2002 7:26 AM
To: Tomcat Users List
Subject: RE: How to block listings on a SPECIFIC directory


new directories are being created dynamically and they should be browsable.
all the rest shouldnt be
thats why I can not put index.htm file in every directory
Any suggestions?

Adi

-----Original Message-----
From: Sexton, George [mailto:gsexton@mhsoftware.com]
Sent: Thursday, September 19, 2002 2:21 PM
To: Tomcat Users List
Subject: RE: How to block listings on a SPECIFIC directory


Hmmm... Why don't you put a file like "index.html" in the directory?
Assuming you have a welcome files list in your web.xml file, this will be
displayed. You can then put up a message, and re-direct to where you want
them to be.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-----Original Message-----
From: adi [mailto:adi0@myrealbox.com]
Sent: 19 September, 2002 6:49 AM
To: tomcat-user@jakarta.apache.org
Subject: How to block listings on a SPECIFIC directory


Hello,

I am trying to enable listing on one directory ( and its children)
only.
the listings parameter set to false or true will affect everything.
is it possible in any way to define "listings" to individual directories in
my webapp?

Adi


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by Milt Epstein <me...@uiuc.edu>.
On Thu, 19 Sep 2002, adi wrote:

> new directories are being created dynamically and they should be
> browsable.  all the rest shouldnt be
> thats why I can not put index.htm file in every directory
> Any suggestions?

Not sure this matters -- the idea is that you put the index.html (or
whatever welcome-file you specify) in the directories where you
*don't* want to allow directory listings.  Of course, you could also
dynamically create index/welcome files as appropriately.


> -----Original Message-----
> From: Sexton, George [mailto:gsexton@mhsoftware.com]
> Sent: Thursday, September 19, 2002 2:21 PM
> To: Tomcat Users List
> Subject: RE: How to block listings on a SPECIFIC directory
>
>
> Hmmm... Why don't you put a file like "index.html" in the directory?
> Assuming you have a welcome files list in your web.xml file, this will be
> displayed. You can then put up a message, and re-direct to where you want
> them to be.
>
> George Sexton
> MH Software, Inc.
> Home of Connect Daily Web Calendar Software
> http://www.mhsoftware.com/connectdaily.htm
> Voice: 303 438 9585
>
>
> -----Original Message-----
> From: adi [mailto:adi0@myrealbox.com]
> Sent: 19 September, 2002 6:49 AM
> To: tomcat-user@jakarta.apache.org
> Subject: How to block listings on a SPECIFIC directory
>
>
> Hello,
>
> I am trying to enable listing on one directory ( and its children)
> only.
> the listings parameter set to false or true will affect everything.
> is it possible in any way to define "listings" to individual directories in
> my webapp?
>
> Adi
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by adi <ad...@myrealbox.com>.
new directories are being created dynamically and they should be browsable.
all the rest shouldnt be
thats why I can not put index.htm file in every directory
Any suggestions?

Adi

-----Original Message-----
From: Sexton, George [mailto:gsexton@mhsoftware.com]
Sent: Thursday, September 19, 2002 2:21 PM
To: Tomcat Users List
Subject: RE: How to block listings on a SPECIFIC directory


Hmmm... Why don't you put a file like "index.html" in the directory?
Assuming you have a welcome files list in your web.xml file, this will be
displayed. You can then put up a message, and re-direct to where you want
them to be.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-----Original Message-----
From: adi [mailto:adi0@myrealbox.com]
Sent: 19 September, 2002 6:49 AM
To: tomcat-user@jakarta.apache.org
Subject: How to block listings on a SPECIFIC directory


Hello,

I am trying to enable listing on one directory ( and its children)
only.
the listings parameter set to false or true will affect everything.
is it possible in any way to define "listings" to individual directories in
my webapp?

Adi


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How to block listings on a SPECIFIC directory

Posted by "Sexton, George" <gs...@mhsoftware.com>.
Hmmm... Why don't you put a file like "index.html" in the directory?
Assuming you have a welcome files list in your web.xml file, this will be
displayed. You can then put up a message, and re-direct to where you want
them to be.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-----Original Message-----
From: adi [mailto:adi0@myrealbox.com]
Sent: 19 September, 2002 6:49 AM
To: tomcat-user@jakarta.apache.org
Subject: How to block listings on a SPECIFIC directory


Hello,

I am trying to enable listing on one directory ( and its children)
only.
the listings parameter set to false or true will affect everything.
is it possible in any way to define "listings" to individual directories in
my webapp?

Adi


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>