-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.htaccess
69 lines (49 loc) · 2.42 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
65
66
67
68
69
# 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/
<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 Ascending Name
# META VIEWPORT
IndexHeadInsert "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"
# THEME FILES
HeaderName /OhSiteFolderPath/.theme/header.html
ReadmeName /OhSiteFolderPath/.theme/footer.html
IndexStyleSheet /OhSiteFolderPath/.theme/style.css
# ICONS
#AddIcon /OhSiteFolderPath/.theme/icons/blank.png ^^BLANKICON^^
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] ^^DIRECTORY^^
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] ..
#VECTOR IMAGES
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .ai .eps .svg .svgz
#ARCHIVES
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .7z .bz2 .cab .gz .tar .rar .zip
#BINARIES AND EXECUTABLES
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .bin .hex .exe .sh
#CSS
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .css .sass .scss .less
#FRONS
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .ttf .woff .eot .otf
#HTML
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .html .xhtml .shtml .htm .URL .url .haml .jade .hbs .xml
#IMAGES
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .jpg .jpeg .jpe .ico .gif .png .psd .bmp .tiff .tif
#JS
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .js .json .coffee
#PHP
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .php .phtml
#RUBY
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .rb
#DOCUMENTS
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .md .txt .nfo
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .pdf
AddIcon /OhSiteFolderPath/.theme/icons/[email protected] .doc .docx .docm .dot .dotx .dotm .log .msg .odt .pages .rtf .tex .wpd .wps
#DEFAULT
DefaultIcon /OhSiteFolderPath/.theme/icons/[email protected]
</IfModule>