Created
September 1, 2016 06:20
-
-
Save cPLevey/f9021da04534788754814306b1d04da0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# | |
# Directives controlling the display of server-generated directory listings. | |
# | |
# Required modules: mod_authz_core, mod_authz_host, | |
# mod_autoindex, mod_alias | |
# | |
# To see the listing of a directory, the Options directive for the | |
# directory must include "Indexes", and the directory must not contain | |
# a file matching those listed in the DirectoryIndex directive. | |
# | |
# | |
# IndexOptions: Controls the appearance of server-generated directory | |
# listings. | |
# | |
IndexOptions FancyIndexing HTMLTable VersionSort | |
# We include the /sharedApache2Icons/ alias for FancyIndexed directory listings. If | |
# you do not use FancyIndexing, you may comment this out. | |
# | |
Alias /sharedApache2Icons/ "/usr/share/apache2/icons/" | |
<Directory "/usr/share/apache2/icons"> | |
Options Indexes MultiViews FollowSymlinks | |
AllowOverride None | |
Require all granted | |
</Directory> | |
# | |
# AddIcon* directives tell the server which icon to show for different | |
# files or filename extensions. These are only displayed for | |
# FancyIndexed directories. | |
# | |
AddIconByEncoding (CMP,/sharedApache2Icons/compressed.gif) x-compress x-gzip | |
AddIconByType (TXT,/sharedApache2Icons/text.gif) text/* | |
AddIconByType (IMG,/sharedApache2Icons/image2.gif) image/* | |
AddIconByType (SND,/sharedApache2Icons/sound2.gif) audio/* | |
AddIconByType (VID,/sharedApache2Icons/movie.gif) video/* | |
AddIcon /sharedApache2Icons/binary.gif .bin .exe | |
AddIcon /sharedApache2Icons/binhex.gif .hqx | |
AddIcon /sharedApache2Icons/tar.gif .tar | |
AddIcon /sharedApache2Icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv | |
AddIcon /sharedApache2Icons/compressed.gif .Z .z .tgz .gz .zip | |
AddIcon /sharedApache2Icons/a.gif .ps .ai .eps | |
AddIcon /sharedApache2Icons/layout.gif .html .shtml .htm .pdf | |
AddIcon /sharedApache2Icons/text.gif .txt | |
AddIcon /sharedApache2Icons/c.gif .c | |
AddIcon /sharedApache2Icons/p.gif .pl .py | |
AddIcon /sharedApache2Icons/f.gif .for | |
AddIcon /sharedApache2Icons/dvi.gif .dvi | |
AddIcon /sharedApache2Icons/uuencoded.gif .uu | |
AddIcon /sharedApache2Icons/script.gif .conf .sh .shar .csh .ksh .tcl | |
AddIcon /sharedApache2Icons/tex.gif .tex | |
AddIcon /sharedApache2Icons/bomb.gif core. | |
AddIcon /sharedApache2Icons/back.gif .. | |
AddIcon /sharedApache2Icons/hand.right.gif README | |
AddIcon /sharedApache2Icons/folder.gif ^^DIRECTORY^^ | |
AddIcon /sharedApache2Icons/blank.gif ^^BLANKICON^^ | |
# | |
# DefaultIcon is which icon to show for files which do not have an icon | |
# explicitly set. | |
# | |
DefaultIcon /sharedApache2Icons/unknown.gif | |
# | |
# AddDescription allows you to place a short description after a file in | |
# server-generated indexes. These are only displayed for FancyIndexed | |
# directories. | |
# Format: AddDescription "description" filename | |
# | |
#AddDescription "GZIP compressed document" .gz | |
#AddDescription "tar archive" .tar | |
#AddDescription "GZIP compressed tar archive" .tgz | |
# | |
# ReadmeName is the name of the README file the server will look for by | |
# default, and append to directory listings. | |
# | |
# HeaderName is the name of a file which should be prepended to | |
# directory indexes. | |
ReadmeName README.html | |
HeaderName HEADER.html | |
# | |
# IndexIgnore is a set of filenames which directory indexing should ignore | |
# and not include in the listing. Shell-style wildcarding is permitted. | |
# | |
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment