• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Direcotry Listing

 
vijaya lakshmi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI!
How can prevent displaying Directory Listing when user enters just directory.Like http://localhost:8080/admin/ or http://localhost:8080/dealer/.I'm using jboss-3.0.4_tomcat-4.1.12 server.I have given the following element in web.xml file also
<welcome-file-list>
<welcome-file>welcome.jsp</welcome-file>
</welcome-file-list>
Still it's giving direcotry listing.
Regards.
Vijaya.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the 'listings' property in the file $CATALINA_HOME/conf/web.xml
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i too am encountering the same ,but i am using iplanet4.1 ,how can we avoid in displaying in the Directory listing in browser ?

rgds
Rajendar
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For iPlanet.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64958
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Tomcat forum.
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic