This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hiding directory listings in Sun Java System Application Server Platform Edition 9.0

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me with hiding the directory listing sunder Sun Java System Application Server Platform Edition 9.0?

when you type in say:
http://localhost/secure/

I'd appreaciate NOT seeing the JSPS, subfolders and javascript files!!!

PS, I doin't mean "try adding a index.html" page to EVERY folder too (as has been suggested to me), I'm sure there must be a simple way of switch 'show directory listsing' off or something.

Cheers
[ January 14, 2008: Message edited by: Keith Seller ]
 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorted it!

Edit the default-web.xml file under
...\AppServer\domains\domain1\config\ change the 'listing' param to FALSE
[ January 14, 2008: Message edited by: Keith Seller ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic