wood burning stoves*
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
Author

restrict directory listing

Yoo-Jin Lee
Ranch Hand

Joined: Nov 01, 2000
Posts: 119
Hi,

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

For example, if you type in http://mylink.com/temp 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"
</Object>

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?


cheers,
Yoo-Jin

[ August 12, 2004: Message edited by: Yoo-Jin Lee ]
[ August 12, 2004: Message edited by: Yoo-Jin Lee ]
 
 
subject: restrict directory listing
 
Similar Threads
Permanently setting a System property
How to configure in obj.conf, Failover of cluster in Weblogic
URGENT: Need Sample WAS 4.0 Iplanet obj.conf
String indexOf(int)
Directory Size