How To Turn Off or Turn On Directory Listings In Glassfish 2.1.1 / AS9.1 or Glassfish v3
(Doc ID 1505156.1)
Last updated on AUGUST 16, 2018
Applies to:Oracle GlassFish Server - Version 3.1.2 to 8.2 [Release 3.1 to 8.2]
Information in this document applies to any platform.
This document applies to:
Sun Java System Application Server 8.x
Sun Java System Application Server 9.x
Oracle Glassfish 2.x
Oracle Glassfish 3.x
The Goal of this document is to disable directory listings in Glassfish 2.1.1 / AS9.1.
By default in Glassfish 2.1.1 / AS9.1 (If there is no welcome/index file present), it will display a list of files contained within the directory (i.e., a directory listing).
While this feature is useful for developing and debugging, it is often desireable to disable this feature when going into production.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document