-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmod_autoindex.conf
78 lines (56 loc) · 2.34 KB
/
mod_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
# STRONG HTACCESS PROTECTION
<Files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
</Files>
# DIRECTORY CUSTOMIZATION
# http://perishablepress.com/better-default-directory-views-with-htaccess/
# ADAPT HERE -> ADD THE PATH WHERE YOU EXTRACTED / CLONED THE REPOSITORY
Alias /meodai "/FULL/PATH/TO/LOCAL/COPY/.theme"
<Directory "/FULL/PATH/TO/LOCAL/COPY/.theme">
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>
<IfModule mod_autoindex.c>
# SET INDEX OPTIONS
IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=* +DescriptionWidth=* +IconsAreLinks +TrackModified +VersionSort
# DEFAULT SORTING
IndexOrderDefault Descending Name
# META VIEWPORT
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"
# THEME FILES
HeaderName /meodai/header.html
ReadmeName /meodai/footer.html
IndexStyleSheet /meodai/style.css
# ICONS
#AddIcon /meodai/icons/blank.png ^^BLANKICON^^
AddIcon /meodai/icons/[email protected] ^^DIRECTORY^^
AddIcon /meodai/icons/[email protected] ..
#VECTOR IMAGES
AddIcon /meodai/icons/[email protected] .ai .eps .svg .svgz
#ARCHIVES
AddIcon /meodai/icons/[email protected] .7z .bz2 .cab .gz .tar .rar .zip
#BINARIES AND EXECUTABLES
AddIcon /meodai/icons/[email protected] .bin .hex .exe .sh
#CSS
AddIcon /meodai/icons/[email protected] .css .sass .scss .less
#FRONS
AddIcon /meodai/icons/[email protected] .ttf .woff .eot .otf
#HTML
AddIcon /meodai/icons/[email protected] .html .xhtml .shtml .htm .URL .url .haml .jade .hbs .xml
#IMAGES
AddIcon /meodai/icons/[email protected] .jpg .jpeg .jpe .ico .gif .png .psd .bmp .tiff .tif
#JS
AddIcon /meodai/icons/[email protected] .js .json .coffee
#PHP
AddIcon /meodai/icons/[email protected] .php .phtml
#RUBY
AddIcon /meodai/icons/[email protected] .rb
#DOCUMENTS
AddIcon /meodai/icons/[email protected] .md .txt .nfo
AddIcon /meodai/icons/[email protected] .pdf
AddIcon /meodai/icons/[email protected] .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
#DEFAULT
DefaultIcon /meodai/icons/[email protected]
</IfModule>