-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
64 lines (53 loc) · 4.13 KB
/
.htaccess
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
# Indexing
Options +Indexes
# INDEX OPTIONS
IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription -SuppressSize -SuppressLastModified +NameWidth=* +IconsAreLinks
# META TAGS
IndexHeadInsert "<meta charset='UTF-8'><meta name='viewport' content='width=device-width, initial-scale=1'><meta http-equiv='X-UA-Compatible' content='IE=edge'>"
# GENERAL ICONS (BLANK, DIRECTORY, PARENT DIRECTORY)
AddIcon /.Apache-Directory-Listing/directory-listing/icons/blank.svg ^^BLANKICON^^
AddIcon /.Apache-Directory-Listing/directory-listing/icons/folder.svg ^^DIRECTORY^^
AddIcon /.Apache-Directory-Listing/directory-listing/icons/folder-home.svg ..
#AddIconByType (TXT,/.Apache-Directory-Listing/directory-listing/icons/text.svg) text/*
AddIconByType (IMG,/.Apache-Directory-Listing/directory-listing/icons/img.svg) image/*
AddIconByType (SND,/.Apache-Directory-Listing/directory-listing/icons/audio.svg) audio/*
AddIconByType (VID,/.Apache-Directory-Listing/directory-listing/icons/video.svg) video/*
#
# EXTENSION SPECIFIC ICONS
#
DefaultIcon /.Apache-Directory-Listing/directory-listing/icons/unknown.svg
AddIcon /.Apache-Directory-Listing/directory-listing/icons/archive.svg .zip .7z .bz2 .cab .gz .tar .rar
AddIcon /.Apache-Directory-Listing/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 /.Apache-Directory-Listing/directory-listing/icons/bin.svg .bin .hex
AddIcon /.Apache-Directory-Listing/directory-listing/icons/code.svg .xml
AddIcon /.Apache-Directory-Listing/directory-listing/icons/doc.svg .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
AddIcon /.Apache-Directory-Listing/directory-listing/icons/img.svg .bmp .png .tiff .tif .gif .jpg .jpeg .jpe .psd .ai .ico
AddIcon /.Apache-Directory-Listing/directory-listing/icons/spreadsheet.svg .xlsx .xlsm .xltx .xltm .xlam .xlr .xls .csv
AddIcon /.Apache-Directory-Listing/directory-listing/icons/presentation.svg .ppt .pptx .pot .potx .pptm .potm .xps
AddIcon /.Apache-Directory-Listing/directory-listing/icons/c++.svg .cpp
AddIcon /.Apache-Directory-Listing/directory-listing/icons/c.svg .c
AddIcon /.Apache-Directory-Listing/directory-listing/icons/css3.svg .css .sass .scss .less
AddIcon /.Apache-Directory-Listing/directory-listing/icons/font.svg .ttf .TTF .woff .WOFF .woff2 .WOFF2 .otf .OTF
AddIcon /.Apache-Directory-Listing/directory-listing/icons/h.svg .h
AddIcon /.Apache-Directory-Listing/directory-listing/icons/html5.svg .html .xhtml .shtml .htm .URL .url
AddIcon /.Apache-Directory-Listing/directory-listing/icons/info.svg .nfo .info
AddIcon /.Apache-Directory-Listing/directory-listing/icons/iso.svg .iso .img
AddIcon /.Apache-Directory-Listing/directory-listing/icons/java.svg .jar .java
AddIcon /.Apache-Directory-Listing/directory-listing/icons/js.svg .js .json
AddIcon /.Apache-Directory-Listing/directory-listing/icons/markdown.svg .md
AddIcon /.Apache-Directory-Listing/directory-listing/icons/package.svg .pkg .dmg .rpm .deb
AddIcon /.Apache-Directory-Listing/directory-listing//icons/pdf.svg .pdf
AddIcon /.Apache-Directory-Listing/directory-listing/icons/php.svg .php .phtml
AddIcon /.Apache-Directory-Listing/directory-listing/icons/py.svg .py
AddIcon /.Apache-Directory-Listing/directory-listing/icons/rb.svg .rb
AddIcon /.Apache-Directory-Listing/directory-listing/icons/script.svg .bat .BAT .cmd .sh .ps .exe .EXE .msi .MSI
AddIcon /.Apache-Directory-Listing/directory-listing/icons/sql.svg .sql
AddIcon /.Apache-Directory-Listing/directory-listing/icons/text.svg .txt .cnf .conf .map .yaml
AddIcon /.Apache-Directory-Listing/directory-listing/icons/vector.svg .svg .svgz
AddIcon /.Apache-Directory-Listing/directory-listing/icons/video.svg .asf .asx .avi .flv .mkv .mov .mp4 .mpg .rm .srt .swf .vob .wmv .m4v .f4v .f4p .ogv
#
# THEME FILES
#
HeaderName /.Apache-Directory-Listing/directory-listing/header.html
ReadmeName /.Apache-Directory-Listing/directory-listing/footer.html
IndexStyleSheet "/.Apache-Directory-Listing/directory-listing/table.css"