apache2 Open Direcory Listing?

Support for security such as Firewalls and securing linux
Post Reply
1885
Posts: 139
Joined: 2014/10/25 13:33:03

apache2 Open Direcory Listing?

Post by 1885 » 2020/05/11 12:44:25

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

Post Reply

Return to “CentOS 8 - Security Support”