jrfnl/PHP-cheat-sheet-extended/master/static_results/.htaccess
# Enable Directory Browsing
#Options +Indexes +FollowSymLinks
Options +Indexes +MultiViews +FollowSymlinks
# Prevent users from viewing htaccess / htpasswd files
# Prevent users from viewing logfiles
<FilesMatch ".(htaccess|htpasswd|ini|phps|log)$">
Order Allow,Deny
Deny from all
</FilesMatch>
# DIRECTORY CUSTOMIZATION
<IfModule mod_autoindex.c>
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=*
</IfModule>
On Github License
Files