HostOnNet Blog

Apache Directory Listing

To enable Directory Listing in Apache, add following to .htaccess file.

Options +Indexes

if you want to do this in httpd.conf file, in your virtual host entry, add something like

        SetEnv APP_ENV "dev"
        DocumentRoot /home/www/
        CustomLog ${APACHE_LOG_DIR}/ combined
        <Directory "/home/www/">
            Options All +Indexes
            AllowOverride All
            Require all granted
            Order allow,deny
            allow from all

Posted in Apache