Page 1 of 1

apache2 Open Direcory Listing?

Posted: 2020/05/11 12:44:25
by 1885
Open Directory Listing does not work with /var/www/html

https://cwiki.apache.org/confluence/dis ... ryListings
I added the following:
<Directory "/var/www/html">
Options +Indexes
# IndexOptions FancyIndexing VersionSort NameWidth=*
# AllowOverride None
# Require all granted

And all directories beyond /var/www/html work fine
example /var/www/html/downloads/ has an Open Directory listing.

I can not get /var/www/html to provide an Open Directory Listing.

The following works fine with Debain 10
<Directory "/home/cwc/http">
Options +Indexes
IndexOptions FancyIndexing VersionSort NameWidth=*
AllowOverride None
Require all granted
</Directory>

I've turned off SELinux