This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.
Starting In Liferay Portal 6.1 EE, there is a portal.property for enabling or disabling directory indexing for the site.
Resolution
To enable directory indexing, set the following property in the portal-ext.properties:
web.server.servlet.directory.indexing.enabled=true
(the property is set to false and directory indexing is disabled by default for security reasons).
Note: When this property is enabled, all document libraries are browsable to anyone that knows the URL. Permissions are still utilized but any guest-viewable document or folder is viewable by anyone.