-
-
Save quinn/178482 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AuthType Basic | |
AuthName "Private" | |
AuthUserFile /usr/home/safire5/usr/local/etc/httpd/vhosts/deandrazninpr/docs/.htpasswd | |
require valid-user | |
# ENABLE DIRECTORY VIEWS | |
Options +Indexes | |
# STRONG HTACCESS PROTECTION | |
<Files ~ "^.*\.([Hh][Tt][Aa])"> | |
order allow,deny | |
deny from all | |
</Files> | |
# DIRECTORY CUSTOMIZATION | |
<IfModule mod_autoindex.c> | |
# SET INDEX OPTIONS | |
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble | |
# SET DISPLAY ORDER | |
IndexOrderDefault Descending Name | |
# SPECIFY HEADER FILE | |
HeaderName header.html | |
# SPECIFY FOOTER FILE | |
ReadmeName footer.html | |
# IGNORE THESE FILES | |
IndexIgnore header.html footer.html | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment