forked from DatDraggy/Apache-Directory-Listing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoindex.conf
82 lines (71 loc) · 4.23 KB
/
autoindex.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<IfModule mod_autoindex.c>
# Directives controlling the display of server-generated directory listings.
#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
# Remove/replace the "Charset=UTF-8" if you don't use UTF-8 for your filenames.
IndexOptions Charset=UTF-8 FancyIndexing IgnoreCase FoldersFirst XHTML HTMLTable SuppressRules SuppressDescription -SuppressSize -SuppressLastModified NameWidth=* IconsAreLinks
IndexHeadInsert "<meta charset='UTF-8'><meta name='viewport' content='width=device-width, initial-scale=1'><meta http-equiv='X-UA-Compatible' content='IE=edge'>"
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip x-bzip2
AddIcon /directory-listing/icons/blank.svg ^^BLANKICON^^
AddIcon /directory-listing/icons/folder.svg ^^DIRECTORY^^
AddIcon /directory-listing/icons/folder-home.svg ..
#AddIconByType (TXT,/directory-listing/icons/text.svg) text/*
AddIconByType (IMG,/directory-listing/icons/img.svg) image/*
AddIconByType (SND,/directory-listing/icons/audio.svg) audio/*
AddIconByType (VID,/directory-listing/icons/video.svg) video/*
#
# EXTENSION SPECIFIC ICONS
#
DefaultIcon /directory-listing/icons/unknown.svg
AddIcon /directory-listing/icons/archive.svg .zip .7z .bz2 .cab .gz .tar .rar
AddIcon /directory-listing/icons/audio.png .aac .aif .aifc .aiff .ape .au .flac .iff .m4a .mid .mp3 .mpa .ra .wav .wma .f4a .f4b .oga .ogg .xm .it .s3m .mod
AddIcon /directory-listing/icons/bin.svg .bin .hex
AddIcon /directory-listing/icons/code.svg .xml
AddIcon /directory-listing/icons/doc.svg .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
AddIcon /directory-listing/icons/img.svg .bmp .png .tiff .tif .gif .jpg .jpeg .jpe .psd .ai .ico
AddIcon /directory-listing/icons/spreadsheet.svg .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv
AddIcon /directory-listing/icons/presentation.svg .ppt .pptx .pot .potx .pptm .potm .xps
AddIcon /directory-listing/icons/c++.svg .cpp
AddIcon /directory-listing/icons/c.svg .c
AddIcon /directory-listing/icons/css3.svg .css .sass .scss .less
AddIcon /directory-listing/icons/font.svg .ttf .TTF .woff .WOFF .woff2 .WOFF2 .otf .OTF
AddIcon /directory-listing/icons/h.svg .h
AddIcon /directory-listing/icons/html5.svg .html .xhtml .shtml .htm .URL .url
AddIcon /directory-listing/icons/info.svg .nfo .info
AddIcon /directory-listing/icons/iso.svg .iso .img
AddIcon /directory-listing/icons/java.svg .jar .java
AddIcon /directory-listing/icons/js.svg .js .json
AddIcon /directory-listing/icons/markdown.svg .md
AddIcon /directory-listing/icons/package.svg .pkg .dmg .rpm .deb
AddIcon /directory-listing/icons/pdf.svg .pdf
AddIcon /directory-listing/icons/php.svg .php .phtml
AddIcon /directory-listing/icons/py.svg .py
AddIcon /directory-listing/icons/rb.svg .rb
AddIcon /directory-listing/icons/script.svg .bat .BAT .cmd .sh .ps .exe .EXE .msi .MSI
AddIcon /directory-listing/icons/sql.svg .sql
AddIcon /directory-listing/icons/text.svg .txt .cnf .conf .map .yaml
AddIcon /directory-listing/icons/vector.svg .svg .svgz
AddIcon /directory-listing/icons/video.svg .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv
#
# 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
HeaderName /directory-listing/header.html
ReadmeName /directory-listing/footer.html
IndexStyleSheet "/directory-listing/grid.css"
#
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
IndexIgnore .??* *~ *# RCS CVS *,v *,t
</IfModule>