1 |
|
|
2 |
|
# |
3 |
|
# AddDescription allows you to place a short description after a file in |
4 |
|
# server-generated indexes. These are only displayed for FancyIndexed |
5 |
|
# directories. |
6 |
|
# Format: AddDescription "description" filename |
7 |
|
# |
8 |
|
#AddDescription "GZIP compressed document" .gz |
9 |
|
#AddDescription "tar archive" .tar |
10 |
|
#AddDescription "GZIP compressed tar archive" .tgz |
11 |
|
|
12 |
|
# |
13 |
|
# ReadmeName is the name of the README file the server will look for by |
14 |
|
# default, and append to directory listings. |
15 |
|
# |
16 |
|
# HeaderName is the name of a file which should be prepended to |
17 |
|
# directory indexes. |
18 |
|
# |
19 |
|
# If MultiViews are amongst the Options in effect, the server will |
20 |
|
# first look for name.html and include it if found. If name.html |
21 |
|
# doesn't exist, the server will then look for name.txt and include |
22 |
|
# it as plaintext if found. |
23 |
|
# |
24 |
|
ReadmeName README |
25 |
|
HeaderName HEADER |
26 |
|
|
27 |
|
# |
28 |
|
# IndexIgnore is a set of filenames which directory indexing should ignore |
29 |
|
# and not include in the listing. Shell-style wildcarding is permitted. |
30 |
|
# |
31 |
|
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t *.BAK |
32 |
|
|
33 |
|
</IfModule> |
34 |
|
# End of indexing directives. |
35 |
|
|
36 |
|
# |
37 |
|
# Document types. |
38 |
|
# |
39 |
|
<IfModule mod_mime.c> |
40 |
|
|
41 |
|
# |
42 |
|
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress |
43 |
|
# information on the fly. Note: Not all browsers support this. |
44 |
|
# Despite the name similarity, the following Add* directives have nothing |
45 |
|
# to do with the FancyIndexing customization directives above. |
46 |
|
# |
47 |
|
#AddEncoding x-compress Z |
48 |
|
AddEncoding x-gzip gz |
49 |
|
# tgz |
50 |
|
|
51 |
|
# |
52 |
|
# AddLanguage allows you to specify the language of a document. You can |
53 |
|
AddDefaultCharset on |
54 |
|
# then use content negotiation to give a browser a file in a language |
55 |
|
# it can understand. |
56 |
|
# |
57 |
|
# Note 1: The suffix does not have to be the same as the language |
58 |
|
# keyword --- those with documents in Polish (whose net-standard |
59 |
|
# language code is pl) may wish to use "AddLanguage pl .po" to |
60 |
|
# avoid the ambiguity with the common suffix for perl scripts. |
61 |
|
# |
62 |
|
# Note 2: The example entries below illustrate that in quite |
63 |
|
# some cases the two character 'Language' abbreviation is not |
64 |
|
# identical to the two character 'Country' code for its country, |
65 |
|
# E.g. 'Danmark/dk' versus 'Danish/da'. |
66 |
|
# |
67 |
|
# Note 3: In the case of 'ltz' we violate the RFC by using a three char |
68 |
|
# specifier. But there is 'work in progress' to fix this and get |
69 |
|
# the reference data for rfc1766 cleaned up. |
70 |
|
# |
71 |
|
# Danish (da) - Dutch (nl) - English (en) - Estonian (ee) |
72 |
|
# French (fr) - German (de) - Greek-Modern (el) |
73 |
|
# Italian (it) - Korean (kr) - Norwegian (no) |
74 |
|
# Portugese (pt) - Luxembourgeois* (ltz) |
75 |
|
# Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz) |
76 |
|
# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja) |
77 |
|
# Russian (ru) |
78 |
|
# |
79 |
|
AddLanguage en .en |
80 |
|
AddLanguage ja .ja |
81 |
|
AddLanguage zh .zh |
82 |
|
AddLanguage kr .kr |
83 |
|
AddCharset ISO-2022-JP .2jp .jis |
84 |
|
AddCharset UTF-8 .u8 .utf8 |
85 |
|
AddCharset ISO-2022-JP-3 .2j3 |
86 |
|
AddCharset EUC-JISX0213 .ej3 |
87 |
|
AddCharset Shift_JISX0213 .sj3 .sjis |
88 |
|
AddCharset EUC-JP .ejp |
89 |
|
|
90 |
|
# LanguagePriority allows you to give precedence to some languages |
91 |
|
# in case of a tie during content negotiation. |
92 |
|
# |
93 |
|
# Just list the languages in decreasing order of preference. We have |
94 |
|
# more or less alphabetized them here. You probably want to change this. |
95 |
|
# |
96 |
|
<IfModule mod_negotiation.c> |
97 |
|
#LanguagePriority ja en zh da nl et fr de el it kr no pl pt pt-br ru ltz ca es sv tw |
98 |
|
LanguagePriority ja en zh kr |
99 |
|
</IfModule> |
100 |
|
|
101 |
|
# |
102 |
# AddType allows you to tweak mime.types without actually editing it, or to |
# AddType allows you to tweak mime.types without actually editing it, or to |
103 |
# make certain files to be certain types. |
# make certain files to be certain types. |
104 |
# |
# |