webserver

How do I set up indexing in Apache?

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

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top