To allow directory indexing in Apache, you need to use the Options directive in your virtual host.
A sample virtual host is shown below:
ServerName indexing.mydomain.com:80
DocumentRoot “/apps/apache/htdocs”
Options Indexes MultiViews
AllowOverride None
Order Deny,Allow
Allow from all