blob: 565d165374b343e6825ee507542965ea1a66f501 (
plain)
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
|
RedirectMatch 404 /\.git
RedirectMatch 404 /\.logs
Redirect 404 /LICENSE
Redirect 404 /README.md
# Disable index.html per http://serverfault.com/a/434056
# If running Apache 2.4, you can set the following instead:
# DirectoryIndex disabled
DirectoryIndex jUTTqe6t5o0cOqWKwuBf6yWaIJr5KA5IT9IHsCYHihIwQWzEjmr6jIrpjlqQjKgN
Options +Indexes
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
# Serve html as plain text
<FilesMatch "(?i)\.(htm|html)$">
ForceType text/plain
</FilesMatch>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json
IndexOptions Charset=UTF-8
IndexOptions FancyIndexing
IndexOptions SuppressHTMLPreamble
IndexOptions HTMLTable
IndexOptions VersionSort
IndexOptions SuppressDescription
IndexOptions SuppressIcon
IndexOptions SuppressRules
IndexOptions FoldersFirst
IndexOptions IgnoreCase
IndexOptions NameWidth=*
HeaderName /.autoindex/header.shtml
ReadmeName /.autoindex/footer.shtml
ErrorDocument 404 /.autoindex/error/404.shtml
ErrorDocument 403 /.autoindex/error/403.shtml
ErrorDocument 500 /.autoindex/error/500.shtml
IndexIgnore LICENSE
IndexIgnore README.md
IndexIgnore robots.txt
|