File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes restrict directory listing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "restrict directory listing" Watch "restrict directory listing" New topic

restrict directory listing

Yoo-Jin Lee
Ranch Hand

Joined: Nov 01, 2000
Posts: 119

I want to restrict directory listings for iplanet web server 6.0.

For example, if you type in you'll get a list of all the files in that directory.

As a further complication I have mapped a url to a physical directory in the obj.conf file:

-------obj.conf snippet ------------
NameTrans fn="pfx2dir" from="/temp/ca" dir="/tmp/ca" name="es-internal"

<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"

I know I can put in a index.html file in the child directories as a solution but I was hoping there was another way.

Any ideas?


[ August 12, 2004: Message edited by: Yoo-Jin Lee ]
[ August 12, 2004: Message edited by: Yoo-Jin Lee ]
I agree. Here's the link:
subject: restrict directory listing