• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic