<LocationMatch "^/+$"> Options -Indexes </LocationMatch> <Directory /usr/share/httpd/noindex> AllowOverride None Require all granted </Directory>