<directive module="mod_mime">MultiviewsMatch</
directive> $B%G%#%l%/%F%#%V$O(B
$B$3$l$i$N%G%#%l%/%F%#%V$,;XDj$7$?%U%!%$%k$N3HD%;R$r(B
<
module>mod_negotiation</
module> $B$,(B Multiviews $B$N%^%C%A$r$H$k$H$-$K(B
$B9MN8$9$k$h$&$K$G$-$^$9!#(B</
p>
<
p><
module>mod_mime</
module> $B$O%a%?>pJs$r%U%!%$%kL>$H4XO"IU$1$^$9$,!"(B
<
module>core</
module> $B%5!<%
P$
K$
O$
"$k%3%s%F%J(B (<em>$B$?$H$($P(B</em>, <directive type="section" module="core">Location</directive>, <directive type="section" module="core">Directory</directive>, <directive type="section" module="core">Files</directive>) $B$NCf$N$9$Y$F$N%U%!%$%k$rFCDj$N(B $B%a%?>pJs$H4XO"IU$
1$
k%
G%#%
l%/%
F%#%
V$,$
"$j$^$9!#$3$l$i$N%G%#%l%/%F%#%V$K$O(B module="core">ForceType</directive>, <directive module="core">SetHandler</directive>, <directive module="core">SetInputFilter</directive>, <directive module="core">SetOutputFilter</directive> $B$,$"$
j$^$
9!#(
B $
B%
3%
"$N%G%#%l%/%F%#%V$O(B <module>mod_mime</module> $B$K$h$jDj5A$5$l$?(B $B%U%!%$%kL>$N3HD%;R$N%^%C%T%s%0$9$Y$F$r>e=q$-$7$^$9!#(B</p> <p>$B%U%!%$%k$N%a%?>pJs$rJQ$($F$b(B <code>Last-Modified</code> $B%X%C%@$NCM$OJQ$o$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#$G$9$+$i!"(
B $
B$=$
l$
i$
rJQ99$
7$?>l9g$O!"%/%i%$%"%s%H$d%W%m%-%7$G0JA0$K%-%c%C%7%e$5$l$?(B
$B%3%T!<$,$=$
N$
H$-$
N%
X%
C%@$
H$
H$
b$
K;
H$
o$
l$
k2DG=@-$,$
"$j$^$9!#(B $B%a%?>pJs(B ($B8@8l!"%
3%
s%
F%
s%
H%?%$%
W!
"J8;z%;%C%H!"%(%
s%
3!<%G%#%s%0(B) $B$r(B
$BJQ99$7$?$H$-$O!"$9$Y$F$NK,Ld<
T$,@
5$
7$$%
3%
s%
F%
s%
H%
X%
C%@$
r(
B $
B<u$1<
h$
k$
h$&$
K!
"1F6A$r<u$1$k%U%!%$%k$K(B 'touch' $B%3%^%s%I$r<B9T$9$k(B ($B:G=*99?7F|$r99?7$9$k(B) $BI,MW$,$"$
k$+$
b$
7$
l$^$;$
s!#(
B</p>
module="mod_mime_magic">MimeMagicFile</
directive></
seealso>
<
seealso><
directive module="core">AddDefaultCharset</
directive></
seealso>
<
seealso><
directive module="core">ForceType</
directive></
seealso>
<
seealso><
directive module="core">DefaultType</
directive></
seealso>
<
seealso><
directive module="core">SetHandler</
directive></
seealso>
<
seealso><
directive module="core">SetInputFilter</
directive></
seealso>
<
seealso><
directive module="core">SetOutputFilter</
directive></
seealso>
<
section id="multipleext"><
title>$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</
title>
<
p>$B%U%!%$%k$OJ#?t$N3HD%;R$r;}$D$3$H$,$G$-!"3HD%;R$N=gHV$O(B<
em >$BDL>o$O(B</
em>$B4X78$"$j$^$;$s!#Nc$($P!"%U%!%$%k(B <
code>
welcome.html.fr</
code>
$B$,%3%s%F%s%H%?%$%W$O(B <
code>
text/
html</
code>
$B$b$^$C$?$/F1$8>pJs$K%^%C%W$5$l$^$9!#(B
$BF1$8%a%?>pJs$K%^%C%W$5$l$k3HD%;R$,J#?t$"$k$H$-$K$O!"8@8l$H(B
$B%3%s%F%s%H%(%s%3!<%
G%#%
s%
0$
r=|$$$
F!
"(B $B1&B&$K$"$
k$
b$
N$,;
HMQ$
5$
l$^$
9!#$?$
H$($
P!
"(B<code>.gif</code> $B$,(B MIME $B%?%$%W(B <code>image/gif</code> $B$K%^%C%W$5$l!"(
B<code>.html</
code>
$B$,(B MIME $B%?%$%W(B <
code>
text/
html</
code>
MIME $B%?%$%W(B <
code>
text/
html</
code> $B$K4XO"IU$1$i$l$^$9!#(B</
p>
<
p>$B%j%=!<%
9$
KJ#?
t$
N8@
8l$
d%(%
s%
3!<%G%#%s%0$r4XO"IU$1$k$3$H(B
<
a href="#charset-lang">$B8@8l(B</
a>$B$H(B<
a href="#contentencoding" >$B%3%s%F%s%H%(%s%3!<%
G%#%
s%
0(
B</a>$B$OA0$N$b$N$KDI2C$5$l$F$$$-$^$9!#(B
<
code>Content-Language: en, de</
code> $B$H(B <
code>Content-Type:
text/
html</
code> $B$H$7$FAw?.$5$l$^$9!#(B</
p>
<
p>$BJ#?t$N3HD%;R$N$"$k%U%!%$%k$,(B MIME
$B%?%$%W$H%O%s%I%i$NN>J}$K4XO"IU$1$i$l$F$$$k$H$-$OCm0U$9$kI,MW$,$"$j$^$9!#(B
$B$=$N>l9g!"IaDL$O%j%/%(%9%H$,%O%s%I%i$K4XO"IU$1$i$l$?(B
$B%b%8%e!<%
k$
K$
h$
C$
F07$
o$
l$
k$
3$
H$
K$
J$
j$^$
9!#$?$
H$($
P!
"3HD%;R(B <code>.imap</code> $B$,(B (<module>mod_imagemap</module> $B$N(B) <code>imap-file</code> $B$K%^%C%W$5$l$F$$$F!"(
B<code>.html</
code> $B$,(B MIME $B%?%$%W(B <
code>
text/
html</
code>
<
code>imap-file</
code> $B%O%s%I%i$H(B <
code>
text/
html</
code> MIME
$B%?%$%W$K4XO"IU$1$i$l$^$9!#%U%!%$%k$,=hM}$5$l$k$H$-$O(B <
code>imap-file</
code>
$B%O%s%I%i$,;HMQ$5$l$^$9$N$G!"$=$N%U%!%$%k$O(B <
module>mod_imagemap</
module>
$B$N%$%a!<%
8%^%
C%
W%
U%!%$%
k$
H$
7$
F07$
o$
l$
k$
3$
H$
K$
J$
j$^$
9!#(
B</p>
<
section id="contentencoding"><
title>$B%3%s%F%s%H%(%s%3!<%
G%#%
s%
0(
B</title>
<
p>$BFCDj$N(B MIME $B%?%$%W$N%U%!%$%k$O%$%s%?!<%
M%
C%
H$
G$
NE>Aw$r4JC1$K$9$k$?$a$K!"(B
$B$5$i$KId9f2=$9$k$3$H$,$G$-$^$9!#$3$l$ODL>o$O(B <
code>gzip</
code> $B$N(B
$B$h$&$J05=L$N$3$H$r;X$7$^$9$,!"(B<
code>pgp</
code> $B$N$h$&$J0E9f2=$d!"(B
$B%P%$%J%j%U%!%$%k$r(B ASCII ($B%F%-%9%H(B) $B7A<
0$
GAw$
k$?$
a$
K9M0F$
5$
l$?(
B UUencoding $
B$
N$
3$
H$
r;
X$
9$
3$
H$
b$
"$j$^$9!#(B</p> 14.11 $B@a$G$O<!$N$h$&$K5-=R$5$l$F$$$^$9!#(B</p> <p>Content-Encoding $B%(%s%F%#%F%#%X%C%@%U%#!<%k%I$O%a%G%#%"%?%$%
W$
N(
B $
B=$>~;R$H$7$F;H$o$l$^$9!#$=$l$,B8:_$7$F$$$l$P!"CM$O%(%s%F%#%F%#%\%G%#$K(B
$B$I$NDI2C$NId9f2=$,E,MQ$5$l$?$+$r<($
7!
"(BContent-Type $B%X%C%@%U%#!<%k%I$K(B $B=q$+$l$F$$$k%a%G%#%"%?%$%
W$
rF@$
k$?$
a$
K$
I$
NI|
9f5!
9=$
rE,
MQ$
9$
Y$-$+!
"$b(B $B<($7$F$$$k$3$H$K$J$j$^$9!#(BContent-Encoding $B$O<g$K!"85$
N%
a%
G%#%
"%?%$%W$N(B $BF10l@-$r<:$&$3$H$J$/%I%-%e%a%s%H$r05=L$9$k$3$H$r2DG=$K$9$k$?$a$K(B <p>$BJ#?t$N%U%!%$%k3HD%;R(B ($BJ#?t$N3HD%;R$K$D$$$F$O(B <a href="#
multipleext">$B>e$N@a(B</a> $B$r;2>H(B) $B;H$&$3$H$G!"(
B $
B%
U%!%$%
k$
N(
B<em>$B%?%$%W(B</
em>$B$d(B<
em>$B%(%s%3!<%
G%#%
s%
0(
B</em>$B$r;XDj$9$k$3$H$,(B
<
p>$B$?$H$($P!"(BMicrosoft Word $B$N%I%-%e%a%s%H$,$"$j!"%5%$%:$r>.$5$/$9$k$?$a$K(B
pkzip $B$5$l$F$$$k$H$7$^$9!#(B<
code>.doc</
code> $B3HD%;R$,(B Microsoft Word $B$N(B
$B%U%!%$%k%?%$%W$H4XO"IU$1$i$l$F$$$F!"(B<
code>.zip</
code> $B3HD%;R$,(B
pkzip $B%U%!%$%k%(%s%3!<%
G%#%
s%
0$
H4XO"IU$1$i$l$F$$$k$H!"%
U%!%$%
k(
B <code>
Resume.doc.zip</
code> $B$O(B pkzip $B$5$l$?(B Word $B%I%-%e%a%s%H$G$"$k(B
$B$H$$$&$3$H$,$o$+$j$^$9!#(B</
p>
<
p>$B%/%i%$%"%s%H$N%V%i%&%6$K%(%s%3!<%
G%#%
s%
0J}
K!$
rCN$
i$;$
k$?$
a$
K!
"(B Apache $B$O%j%=!<%9$H6&$K(B <code>Content-Encoding</code> $B%X%C%@$r(B <example>Content-encoding: pkzip</example> <section id="charset-
lang"><title>$BJ8;z%;%C%H$H8@8l(B</title> <p>$B%U%!%$%k%?%$%W$H%U%!%$%k%(%s%3!<%G%#%s%0$NB>$K=EMW$J>pJs$O(B $B%I%-%e%a%s%H$N=q$+$l$F$$$k8@8l$H!"$
I$
NJ8;
z%;%
C%
H$
G%
U%!%$%
k$,
I=<((B
$B$5$l$k$Y$-$+!"$H$$$&$b$N$G$9!#$?$H$($P!"%I%-%e%a%s%H$O%Y%H%J%`$N(B
$B%"%k%U%!%Y%C%H$d%-%j%kJ8;z$G=q$+$l$F$$$F!"$=$N$h$&$KI=<($
5$
l$
k(
B $
BI,
MW$,$
"$k$+$b$7$l$^$;$s!#$3$N>pJs$b$^$?!"(
BHTTP $
B%
X%
C%@$
G(
B <
p>$BJ8;z%;%C%H!"8@8l!"%(%s%3!<%
G%#%
s%
0!
"(Bmime $B%?%$%W$O$9$Y$F(B $B%3%s%F%s%H%M%4%7%(!<%7%g%s(B (<module>mod_negotiation</module> $B;2>H(B) $B$N:GCf$K!"J#?
t$
NJ8;
z%;%
C%
H!
"8@8l!"%(%
s%
3!<%G%#%s%0!"(BMIME $B%?%$%W$+$i$J$k(B
$BBeBXJ*$,$"$k$H$-$K$I$N%I%-%e%a%s%H$r%/%i%$%"%s%H$KAw$k$N$+$r(B
$B7hDj$9$k$H$-$K;H$o$l$^$9!#(B<
directive module="mod_mime">AddCharset</
directive>,
<
directive module="mod_mime">AddEncoding</
directive>, <
directive module="mod_mime">AddLanguage</
directive>,
<
directive module="mod_mime">AddType</
directive> $B$N3F%G%#%l%/%F%#%V$G:n@.$5$l$?(B
$B3HD%;R$N4XO"IU$1(B ($B$H(B <
directive module="mod_mime_magic" >MimeMagicFile</
directive> $B$G%j%9%H$5$l$F$$$k(B
$B3HD%;R(B) $B$,$3$NA*Br$K;22C$7$^$9!#(B<
directive module="mod_mime" <
directive module="mod_mime">AddInputFilter</
directive>,
<
directive module="mod_mime">AddOutputFilter</
directive> $B$N(B
$B3F%G%#%l%/%F%#%V$G$N$_4XO"IU$1$i$l$F$$$k3HD%;R$O(B
<
directive module="mod_mime">MultiviewsMatch</
directive> $B%G%#%l%/%F%#%V$r(B
$B=hM}$K4^$a$k$3$H$b30$9$3$H$b$G$-$^$9!#(B</
p>
<
section id="charset"><
title>Charset</
title>
<
p>$B$5$i$K>pJs$rEA$($k$?$a$K!"(BApache $B$OJ8=q$N8@8l$r(B
<
code>Content-Language</
code> $B%X%C%@$GAw$k$3$H$b$"$j$^$9!#(B
$B$^$?!">pJs$r@5$7$/I=<($
9$
k$?$
a$
K;
HMQ$
9$
Y$-
J8;
z%;%
C%
H$
r<($9$?$a$K(B
<
code>Conten-Type</
code> $B%X%C%@$K>pJs$rDI2C$9$k$3$H$b$"$j$^$9!#(B</
p>
Content-Language: en, fr<
br />
<
p>$B8@8l$N;XDj$OFsJ8;z$NC;=L7A$G9T$J$o$l$^$9!#(B<
code>charset</
code> $B$,(B
$B;HMQ$9$Y$-J8;z%;%C%H$NL>A0$G$9!#(B</
p>
<
description>$B%U%!%$%kL>$N3HD%;R$r;XDj$5$l$?J8;z%;%C%H$K%^%C%W$9$k(B</
description>
<
syntax>AddCharset <
var>charset</
var> <
var>extension</
var>
[<
var>extension</
var>] ...</
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
p><
directive>AddCharset</
directive> $B%G%#%l%/%F%#%V$O!"(B
$BM?$($i$l$?3HD%;R$r;XDj$5$l$?(B charset $B$K%^%C%W$7$^$9!#(B<
var>charset</
var>
$B$O!"3HD%;R(B <
var>extension</
var> $B$r4^$s$G$$$k%U%!%$%kL>$N(B
$B%Q%i%a!<%?(
B</a>$B$G$9!#?7$7$$%^%C%T%s%0$O4{$K$"$kB>$N%^%C%T%s%0$KDI2C$5$l!"F1$83HD%;R(B
<
var>extension</
var> $B$N$?$a$N%^%C%T%s%0$r>e=q$-$7$^$9!#(B</
p>
<
example><
title>$BNc(B</
title>
AddCharset EUC-JP .euc<
br />
AddCharset ISO-2022-JP .jis<
br />
AddCharset SHIFT_JIS .sjis
<
p>$B$3$N>l9g!"%I%-%e%a%s%H(B <
code>
xxxx.ja.jis</
code> $B$O(B charset $B$,(B
<
code>ISO-2022-JP</
code> $B$NF|K\8l$N%I%-%e%a%s%H$H$7$F07$o$l$^$9(B
(<
code>
xxxx.jis.ja</
code> $B$bF1MM(B)$B!#(B<
directive>AddCharset</
directive>
$B%G%#%l%/%F%#%V$O!"%I%-%e%a%s%H$,E,@Z$K2r<
a$
5$
lI=<($5$l$k$h$&$K!"(B
$B%I%-%e%a%s%H$N(B charset $B$N>pJs$r%/%i%$%"%s%H$K65$($k$?$a$KLr$KN)$A$^$9!#(B
$B$^$?!"%5!<%
P$,%/%
i%$%
"%s%H$N(B charset $B$NM%@hEY$K4p$E$$$FJ#?t$N%I%-%e%a%s%H$NCf$+$i%I%-%e%a%s%H$rA*$V(B<a >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$N$?$a$K$bLr$KN)$A$^$9!#(B</p> <p>$B0z?t(B <var>extension</var>$B$OBgJ8;z>.J8;z$r6hJL$;$:!"(
B $
B:
G=i$
N%
I%
C%
H$
O$
"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p><seealso><module>mod_negotiation</module></seealso> <seealso><directive module="core">AddDefaultCharset</directive></seealso> <description>$B%U%!%$%kL>$N3HD%;R$r;XDj$5$l$?%(%s%3!<%G%#%s%0(B $B$K%^%C%W$9$k(B</description> <syntax>AddEncoding <var>MIME-enc</var> <var>extension</var> [<var>extension</var>] ...</syntax> <contextlist><context>server config</context><context>virtual host</context> <context>directory</context><context>.htaccess</context></contextlist> <override>FileInfo</override> <p><directive>AddEncoding</directive> $B%G%#%l%/%F%#%V$O!"(
B $
BM?$($
i$
l$?
3HD%;
R$
r;
XDj$
5$
l$?%(%
s%
3!<%G%#%s%0$K%^%C%W$7$^$9!#(B
<
var>MIME-enc</
var> $B$O!"3HD%;R(B <
var>extension</
var>
$B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME $B%(%s%3!<%
G%#%
s%
0$
G$
9!#(
B $
B$
3$
N?
7$
7$$%^%
C%
T%
s%
0$
O4{$
K$
"$kB>$N%^%C%T%s%0$KDI2C$5$l!"(
B $
BF1$
83HD%;
R(
B <var>extension</
var> $B$N$?$a$N%^%C%T%s%0$r>e=q$-$7$^$9!#(B</
p>
<
example><
title>$BNc(B</
title>
<
code>AddEncoding x-gzip .gz<
br />
AddEncoding x-compress .Z</
code>
<
p>$B$3$l$O!"3HD%;R(B <
code>.gz</
code> $B$r4^$`%U%!%$%kL>$,(B <
code>x-gzip</
code>
$B%(%s%3!<%
G%#%
s%
0$
r;
H$
C$
F%(%
s%
3!<%I$5$l$F$$$k$3$H$H!"3HD%;R(B <
code>.Z</
code>
$B$r4^$`%U%!%$%kL>$,(B <
code>x-compress</
code>
$B$G%(%s%3!<%
I$
5$
l$
F$$$
k$
3$
H$
r;
XDj$
7$^$
9!#(
B</p>
<
p>$B8E$$%/%i%$%"%s%H$O(B <
code>x-zip</
code> $B$H(B <
code>x-compress</
code>
$B$,JV$C$F$/$k$3$H$r4|BT$7$^$9$,!"I8=`5,3J$G$O$=$l$>$l(B
<
code>gzip</
code> $B$H(B <
code>compress</
code>
$B$HEy2A$G$"$k$3$H$K$J$C$F$$$^$9!#(BApache
$B$O!"%3%s%F%s%H%(%s%3!<%
G%#%
s%
0$
NHf3S$
r$
9$
k$
H$-$
K$
O!
"@hF,$K$"$
k(
B <code>x-</
code> $B$rL5;k$7$^$9!#(BApache
$B$,%(%s%3!<%
G%#%
s%
0IU$-$
G1~
Ez$
rJV$
9$
H$-$
O!
"%/%i%$%"%
s%
H$,
MW5a$
7$?
7A<0(B
(<
em>$B$9$J$o$A(B</
em>$B!"(B<
code>x-foo</
code> $B$d(B <
code>foo</
code>)
$B$r;HMQ$7$^$9!#MW$9$k$K!"$3$NFs$D$N%(%s%3!<%
G%#%
s%
0$
N>l9g$O>o$K(B
<
code>x-gzip</
code> $B$H(B <
code>x-compress</
code>
$B$r;H$&$Y$-$G$"$k!"$H$$$&$3$H$G$9!#(B<
code>deflate</
code>
$B$N$h$&$J$h$j?7$7$$%(%s%3!<%
G%#%
s%
0$
G$
O!
"(B<code>x-</code> $B$J$7$G;XDj$7$F$/$@$5$$!#(B <p>$B0z?t(B <var>extension</var> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(
B $
B:
G=i$
N%
I%
C%
H$
O$
"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p><description>$B%U%!%$%kL>$N3HD%;R$r;XDj$5$l$?%O%s%I%i$K%^%C%W$9$k(B</description> <syntax>AddHandler <var>handler-name</var> <var>extension</var> [<var>extension</var>] ...</syntax> <contextlist><context>server config</context><context>virtual host</context> <context>directory</context><context>.htaccess</context></contextlist> <override>FileInfo</override> <p>$B3HD%;R(B <var>extension</var> $B$,L>A0$K$"$
k%
U%!%$%
k$
O;
XDj$
5$
l$?(
B <a
$B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$kB>$N%^%C%T%s%0$KDI2C$5$l!"(B
$BF1$83HD%;R(B <
var>extension</
var>
$B$N$?$a$N%^%C%T%s%0$r>e=q$-$7$^$9!#$?$H$($P!"3HD%;R(B
"<
code>.cgi</
code>" $B$G=*$o$k%U%!%$%k$r(B CGI
$B%9%/%j%W%H$H$7$F07$$$?$$$H$-$O!"0J2<$
N@
_Dj$
r$
7$^$
9!#(
B</p>
AddHandler cgi-script .cgi
<
p>$B$3$l$r(B
httpd.conf $B%U%!%$%k$K5-=R$9$k$3$H$G!"3HD%;R(B
"<
code>.cgi</
code>" $B$N%U%!%$%k$O(B CGI $B%W%m%0%i%`$H$7$F07$o$l$^$9!#(B
<
p>$B0z?t(B <
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B
$B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
seealso><
directive module="core">SetHandler</
directive></
seealso>
<
name>AddInputFilter</
name>
<
description>$B%U%!%$%k$N3HD%;R$r%/%i%$%"%s%H$N%j%/%(%9%H$r=hM}$9$k(B
$B%U%#%k%?$K%^%C%W$9$k(B</
description>
<
syntax>AddInputFilter <
var>filter</
var>[;<
var>filter</
var>...]
<
var>extension</
var> [<
var>extension</
var>] ...</
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.26 $B0J9_$G;HMQ2DG=(B</
compatibility>
<
p><
directive>AddInputFilter</
directive> $B$O%U%!%$%k$N3HD%;R(B
<
var>extension</
var> $B$r%/%i%$%"%s%H$N%j%/%(%9%H$d(B POST $B$,%5!<%
P$
KMh$?$
H$-$
K(
B $
B=hM}$
r$
9$
k(
B<a href="/
filter.html">$B%U%#%k%?(B</
a>$B$K%^%C%W$7$^$9!#(B
$B$3$l$O!"(B<
directive module="core">SetInputFilter</
directive> $B%G%#%l%/%F%#%V$b(B
$B4^$a!"B>$N>l=j$GDj5A$5$l$F$$$k%U%#%k%?$K2C$($i$l$^$9!#(B
$B$3$N%^%C%T%s%0$O$9$G$K$"$k$b$N$h$jM%@h$5$l$F%^!<%
8$
5$
l!
"(B $BF1$8(B <var>extension</var> $B$KBP$9$k4{B8$N%^%C%T%s%0$r>e=q$-$7$^$9!#(B</p> <p>$BJ#?t$N%U%#%k%?$r;XDj$9$k$H$-$O!"%
G!<%?$r=hM}$9$k=gHV$K%;%_%3%m%s$G(B
$B7R$$$G=q$/I,MW$,$"$j$^$9!#%U%#%k%?$H(B <
var>extension</
var> $B$H$N(B
$BN>J}$N0z?t$OBgJ8;z>.J8;z$r6hJL$;$:!"3HD%;R$N:G=i$N%I%C%H$O(B
$B$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
seealso><
directive module="mod_mime">RemoveInputFilter</
directive></
seealso>
<
seealso><
directive module="core">SetInputFilter</
directive></
seealso>
<
description>$B%U%!%$%kL>$r;XDj$5$l$?8@8l$K%^%C%W(B</
description>
<
syntax>AddLanguage <
var>MIME-lang</
var> <
var>extension</
var>
[<
var>extension</
var>] ...</
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
p><
directive>AddLanguage</
directive> $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B
content language $B$K%^%C%W$7$^$9!#(B<
var>MIME-lang</
var> $B$O!"3HD%;R(B
<
var>extension</
var> $B$r4^$s$G$$$k%U%!%$%kL>$N(B MIME $B$K$*$1$k8@8l$G$9!#(B
$B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k%^%C%T%s%0$KDI2C$5$l!"F1$83HD%;R(B
<
var>extension</
var> $B$N$?$a$N%^%C%T%s%0$r>e=q$-$7$^$9!#(B</
p>
<
example><
title>$BNc(B</
title>
AddEncoding x-compress .Z<
br />
<
p>$B$3$N>l9g!"(B<
code>
xxxx.
en.
Z</
code> $B%I%-%e%a%s%H$O(B compress
$B$5$l$?1Q8l$N%I%-%e%a%s%H$H$7$F07$o$l$^$9(B (<
code>
xxxx.Z.en</
code>
$B$bF1MM(B)$B!#(Bcontent language $B$O%/%i%$%"%s%H$KDLCN$5$l$^$9$,!"(B
$B%V%i%&%6$,$3$N>pJs$r;H$&$3$H$O$*$=$i$/$"$j$^$;$s!#(B
<
directive>AddLanguage</
directive>
$B%G%#%l%/%F%#%V$O!"%5!<%
P$,%/%
i%$%
"%s%H$N8@8l$NM%@hEY$K4p$E$$$FJ#?t$N(B $B%I%-%e%a%s%H$NCf$+$i%I%-%e%a%s%H$rA*$V(B<a >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$N$?$a$K$h$jLr$KN)$A$^$9!#(B</p> <p>$BJ#?t$N8@8l$,F1$83HD%;R$K3d$jEv$F$i$l$F$$$k$H$-$O!"(
B $
B:
G8e$
N$
b$
N$,;
HMQ$
5$
l$^$
9!#$
9$
J$
o$
A!
"<!$N$h$&$J>l9g!"(
B</p>
AddLanguage en-gb .en<
br />
<
p>$B3HD%;R(B <
code>.en</
code> $B$N$"$k%I%-%e%a%s%H$O(B
<
code>en-us</
code> $B$H$7$F07$o$l$^$9!#(B</
p>
<
p>$B0z?t(B <
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B
$B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
seealso><
module>mod_negotiation</
module></
seealso>
<
name>AddOutputFilter</
name>
<
description>$B%U%!%$%kL>$N3HD%;R$r%5!<%
P$+$
i$
N1~
Ez$
r=hM}$
9$
k%
U%#%
k%?$
K(
B $
B%^%
C%
W$
9$
k(
B</description>
<
syntax>AddOutputFilter <
var>filter</
var>[;<
var>filter</
var>...]
<
var>extension</
var> [<
var>extension</
var>] ...</
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.26 $B0J9_$G;HMQ2DG=(B</
compatibility>
<
p><
directive>AddOutputFilter</
directive> $B%G%#%l%/%F%#%V$O(B
$B3HD%;R(B <
var>extension</
var> $B$r%5!<%
P$
N1~
Ez$,%/%
i%$%
"%s%H$KAw$i$l$k(B $BA0$K=hM}$9$k(B<a href="/
filter.html">$B%U%#%k%?(B</a>$B$rDj5A$7$^$9!#(B $B$3$l$O(B <directive module="core">SetOutputFilter</directive> $B%G%#%l%/%F%#%V$H(B <directive module="core" >AddOutputFilterByType</directive> $B%G%#%l%/%F%#%V(B $B$r4^$a!"B>$N>l=j$GDj5A$5$l$F$$$k%U%#%k%?$K2C$($i$l$^$9!#(B
$B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k%^%C%T%s%0$KDI2C$5$l!"F1$83HD%;R(B
<
var>extension</
var> $B$N$?$a$N%^%C%T%s%0$r>e=q$-$7$^$9!#(B</
p>
<
p>$BNc$($P!"0J2<$
N@
_Dj$
O$
9$
Y$
F$
N(
B <code>.shtml</
code> $B%U%!%$%k$r(B SSI $B$G=hM}$7!"(B
$B$=$N=PNO$r(B <
module>mod_deflate</
module> $B$r;H$C$F05=L$7$^$9!#(B</
p>
AddOutputFilter INCLUDES;DEFLATE shtml
<
p>$BJ#?t$N%U%#%k%?$r;XDj$9$k$H$-$O!"%G!<%?$
r=hM}$
9$
k=gHV$
K%;%
_%
3%
m%
s$
G(
B $
B7R$$$
G=q$/
I,
MW$,$
"$j$^$9!#(B<var>filter</var> $B$H(B <var>extension</var> $B$N(B $BN>0z?t$OBgJ8;z>.J8;z$r6hJL$;$:!"3HD%;
R$
N:
G=i$
N%
I%
C%
H$
O(
B $
B$
"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p><seealso><directive module="mod_mime">RemoveOutputFilter</directive></seealso> <seealso><directive module="core">SetOutputFilter</directive></seealso> <description>$B%U%!%$%kL>$N3HD%;R$r;XDj$5$l$?%3%s%F%s%H%?%$%W$K%^%C%W(B</description> <syntax>AddType <var>MIME-type</var> <var>extension</var> [<var>extension</var>] ...</syntax> <contextlist><context>server config</context><context>virtual host</context> <context>directory</context><context>.htaccess</context></contextlist> <override>FileInfo</override> <p><directive>AddType</directive> $B%G%#%l%/%F%#%V$O!"(
B $
BM?$($
i$
l$?
3HD%;
R$
r;
XDj$
5$
l$?%
3%
s%
F%
s%
H%?%$%
W$
K%^%
C%
W$
7$^$
9!#(
B <var>MIME-type</
var> $B$O3HD%;R(B <
var>extension</
var>
$B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME $B%?%$%W$G$9!#(B
$B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k%^%C%T%s%0$KDI2C$5$l!"F1$83HD%;R(B
<
var>extension</
var> $B$N$?$a$N%^%C%T%s%0$r>e=q$-$7$^$9!#(B
$B$3$N%G%#%l%/%F%#%V$O(B MIME $B%?%$%W%U%!%$%k(B (<
directive module="mod_mime">TypesConfig</
directive> $B%G%#%l%/%F%#%V$r;2>H(B)
$B$KL5$$%^%C%T%s%0$rDI2C$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#(B</
p>
<
example><
title>$BNc(B</
title>
$B?7$7$$(B MIME $B%?%$%W$O!"(B<
directive module="mod_mime">TypesConfig</
directive>
$B%U%!%$%k$rJQ99$9$k$N$G$O$J$/!"(B<
directive>AddType</
directive>
$B%G%#%l%/%F%#%V$r;H$C$FDI2C$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B
<
p>$B0z?t(B <
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B
$B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
seealso><
directive module="core">DefaultType</
directive></
seealso>
<
seealso><
directive module="core">ForceType</
directive></
seealso>
<
name>MultiviewsMatch</
name>
<
description>MultiViews $B$G$N%^%C%A%s%0$N8!:w$K4^$^$;$k(B
$B%U%!%$%k$N%?%$%W$r;XDj$9$k(B</
description>
<
syntax>MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers
[Handlers|Filters]</
syntax>
<
default>MultiviewsMatch NegotiatedOnly</
default>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.26 $B0J9_$G;HMQ2DG=(B</
compatibility>
<
p><
directive>MultiviewsMatch</
directive> $B$r;HMQ$9$k$3$H$G!"(B
Multiviews $B$K(B 3 $B<
oN`$
N0[$
J$
k5sF0$
r$
5$;$
k$
3$
H$,$
G$-$^$
9!#(
B Multiviews $
B$
r;
HMQ$
9$
k$
H!
"%U%!%$%k(B ($BNc(B <code>index.html</code>) $B$KBP$9$k%j%/%(%9%H$KBP$7$F!"%
M%
4%
7%(!<%7%g%s$9$k3HD%;R$,%Y!<%
9$
KIU$$$?$
b$
N(
B $B$r%^%C%A$5$;$k$3$H$,$G$-$^$9!#(B</
p>
<
p><
code>NegotiatedOnly</
code> $B%*%W%7%g%s$G$O!"%Y!<%
9L>$KB3$/3HD%;RA4$F$,(B
$B%3%s%F%s%H%M%4%7%(!<%
7%
g%
s$
G(
B <module>mod_mime</
module>
$B$,G'<
1$
9$
k3HD%;
R(
B (<em>$BNc(B</
em> $BJ8;z%;%C%H!"%3%s%F%s%H%?%$%W!"8@8l$d%(%s%3!<%
G%#%
s%
0(
B)
$
B$
K4XO"IU$1$i$l$F$$$J$1$l$P$J$j$^$;$s!#$3$l$OI{:nMQ$N:G$b>/$J$$(B $B:G$bE*3N$J<BAu$G!"%
G%
U%)%
k%
H$
K$
J$
C$
F$$$^$
9!#(
B</p>
<
p>$B%O%s%I%i$H%U%#%k%?$NN>J}$b$7$/$OJRJ}$H4XO"IU$1$i$l$?3HD%;R$r4^$a$k$K$O!"(B
<
directive>MultiviewsMatch</
directive> $B%G%#%l%/%F%#%V$K(B <
code>Handlers</
code>,
<
code>Filters</
code> $B$^$?$O$=$NN>J}$N%*%W%7%g%s$r%;%C%H$7$^$9!#(B
$B$b$7B>$N>r7o$,F1$8$G$"$l$P!":G$b>.$5$$%U%!%$%k$,Aw?.$5$l$^$9!#(B
$BNc$($P!"(B500 $BJ8;z$N(B <
code>
index.html.cgi</
code> $B$H(B 1000 $B%P%$%H$N(B
$B$N%U%!%$%k$,M%@h$5$l$^$9!#(B<
code>.asis</
code> $B%U%!%$%k$rMxMQ$7$F$$$k%f!<%
6$
O!
"(B <code>.asis</code> $B%U%!%$%k$,(B <code>asis-handler</code> $B$K4XO"IU$
1$
i$
l$
F$$$
k$
H$-$
K$
O!
"(B $B%O%s%I%i%*%W%7%g%s$N;HMQ$r9%$`$G$7$g$&!#(B</p> <p>$B:G8e$K!"(
B<module>mod_mime</
module> $B$,G'<
1$
7$
J$$
3HD%;
R$
G$
"$m$&$H$b!"(
B $
B$
I$
s$
J3HD%;
R$
G$
b%^%
C%
A$
5$;$
k(
B <code>Any</
code> $B$,;HMQ$G$-$^$9!#(B
$B$3$N5sF0$O(B Apache 1.3 $B$N$H$-$HF1$8$b$N$G!"M=4|$7$J$$F0:n!"Nc$($P(B <
code>.old</
code> $B$d(B
<
code>.bak</
code> $B%U%!%$%k$H$$$C$?%&%'%V%^%9%?$,Aw?.$r0U?^$7$F$$$J$$(B
$B%U%!%$%k$rAw?.$9$k!"$H$$$C$?F0:n$r9T$J$&2DG=@-$,$"$j$^$9!#(B</
p>
<
p>$BNc$($P<!$
N@
_Dj$
G$
O!
"%O%s%I%i$d%U%#%k%?$,(B Multiviews $B$K;22C$9$k$3$H$,(B $B$G$-$^$9$7!"L$
CN$
N%
U%!%$%
k$
O=|
30$
9$
k$
3$
H$,$
G$-$^$
9!#(
B</p>
MultiviewsMatch Handlers Filters
<
seealso><
directive module="core">Options</
directive></
seealso>
<
seealso><
module>mod_negotiation</
module></
seealso>
<
name>DefaultLanguage</
name>
<
description>$B$"$k%9%3!<%
W$
N$
9$
Y$
F$
N%
U%!%$%
k$
r;
XDj$
5$
l$?
8@
8l$
K(
B$
B@
_Dj$
9$
k(
B</description>
<
syntax>DefaultLanguage <
var>MIME-lang</
var></
syntax>
<
contextlist><
context>server config</
context><
context>virtual host</
context>
<
context>directory</
context><
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
p><
directive>DefaultLanguage</
directive> $B%G%#%l%/%F%#%V$O!"(BApache
$B$,%G%#%l%/%F%#%V$N%9%3!<%
W(
B (<em>$BNc$($P(B</
em>$B!"$=$N;~E@$N(B
<
directive module="core" type="section">Directory</
directive>
$B$NHO0O(B) $B$K$"$k!"L@<(
E*$
J8@
8l3HD%;
R(
B (<directive module="mod_mime">AddLanguage</
directive> $B$G@_Dj$5$l$k(B
<
code>.fr</
code> $B$d(B <
code>.de</
code>) $B$N$J$$A4$F$N%U%!%$%k$r!";XDj$5$l$?(B
<
var>MIME-lang</
var> $B8@8l$G$"$k$H$_$J$9$h$&$K$7$^$9!#(B
$B$3$l$K$h$j!"$9$Y$F$N%U%!%$%kL>$rJQ$($k$3$H$J$/!"(B
$B%G%#%l%/%H%j$,%*%i%s%@8l$N%3%s%F%s%H$r4^$s$G$$$k!"(B
$B$H$$$&$h$&$J$3$H$r;XDj$9$k$3$H$,$G$-$^$9!#(B
$B3HD%;R$r;HMQ$7$F8@8l$r;XDj$9$kJ}K!$H0c$$!"(B
<
directive>DefaultLanguage</
directive>
$B$O0l$D$N8@8l$7$+;XDj$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</
p>
<
p><
directive>DefaultLanguage</
directive>
$B%G%#%l%/%F%#%V$,M-8z$G$J$/!"%U%!%$%k$K(B
<
directive module="mod_mime">AddLanguage</
directive>
$B$G@_Dj$5$l$?8@8l$N3HD%;R$,$J$$$H$-$O!"(B
$B%U%!%$%k$K$O8@8lB0@-$,$J$$$H$_$J$5$l$^$9!#(B</
p>
<
example><
title>$BNc(B</
title>
<
seealso><
module>mod_negotiation</
module></
seealso>
<
name>ModMimeUsePathInfo</
name>
<
description><
code>path_info</
code> $B%3%s%]!<%
M%
s%
H$
r%
U%!%$%
kL>$N0lIt$H$7$F07$&$h$&$K(B
<
module>mod_mime</
module> $B$KDLCN$9$k(B</
description>
<
syntax>ModMimeUsePathInfo On|Off</
syntax>
<
default>ModMimeUsePathInfo Off</
default>
<
contextlist><
context>directory</
context></
contextlist>
<
compatibility>Apache 2.0.41 $B0J9_(B</
compatibility>
<
p><
directive>ModMimeUsePathInfo</
directive> $B%G%#%l%/%F%#%V$O!"(B
<
module>mod_mime</
module> $B$N;}$D%G%#%l%/%F%#%V$r(B
$B%j%/%(%9%H$KE,MQ$5$;$k$?$a$K!"%U%!%$%kL>$H(B <
code>path_info</
code> URL
$B%3%s%]!<%
M%
s%
H$
r7k9g$
5$;$
k$?$
a$
K;
HMQ$
7$^$
9!#(
B $
B%
G%
U%)%
k%
H$
G$
O!
V(
B <code>Off</
code> $B!W$G!"(B<
code>path_info</
code>
$B%3%s%]!<%
M%
s%
H$
OL5;
k$
5$
l$^$
9!#(
B</p>
<
p>$B$3$N%G%#%l%/%F%#%V$O!"%P!<%
A%
c%
k%
U%!%$%
k%
7%
9%
F%`$
r;
HMQ$
7$
F$$$
k:]$
K(
B $
B?
d>)$5$l$k%G%#%l%/%F%#%V$G$9!#(B</
p>
<
example><
title>$BNc(B</
title>
<
p><
code>/bar</
code> $B$,B8:_$7$F(B (
foo.shtml $B$OB8:_$7$J$$(B)
<
directive>ModMimeUsePathInfo</
directive> $B$,(B <
code>On</
code> $B$G$"$k$H$7$F!"(B
<
module>mod_mime</
module> $B$OF~$C$F$-$?%j%/%(%9%H$r(B
<
code>AddOutputFileter INCLUDES .shtml</
code> $B$N$h$&$J%G%#%l%/%F%#%V$O(B
<
code>INCLUDES</
code> $B%U%#%k%?$r%j%/%(%9%H$KIU2C$5$;$^$9!#(B
<
directive>ModMimeUsePathInfo</
directive> $B$,@_Dj$5$l$J$1$l$P!"(B
<
code>INCLUDES</
code> $B%U%#%k%?$OIU2C$5$l$^$;$s!#(B</
p>
<
seealso><
directive module="core">AcceptPathInfo</
directive></
seealso>
<
name>RemoveCharset</
name>
<
description>$B%U%!%$%k$N3HD%;R$K4XO"IU$1$i$l$?$9$Y$F$NJ8;z%;%C%H(B
$B$r2r=|$9$k(B</
description>
<
syntax>RemoveCharset <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.24 $B0J9_$G;HMQ2DG=(B</
compatibility>
<
p><
directive>RemoveCharset</
directive> $B%G%#%l%/%F%#%V(B
$B$OM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?J8;z%;%C%H$r<
h$
j>C$7$^$9!#(B
$B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <
code>.htaccess</
code>
$B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%
P$
N@
_Dj%
U%!%$%
k(
B $
B$+$
i7Q>5$7$?4XO"IU$1$r<
h$
j>C$9$3$H$,$G$-$^$9!#Nc$($P(B:</
p>
<
p><
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B
$B$^$?!":G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
example><
title>$BNc(B</
title>
RemoveCharset .html .shtml
<
name>RemoveEncoding</
name>
<
description>$B%U%!%$%k$N3HD%;R$K4XO"IU$1$i$l$?$9$Y$F$N%3%s%F%s%H%(%s%3!<%
G%#%
s%
0(
B$
B$
r2r=|$
9$
k(
B</description>
<
syntax>RemoveEncoding <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
p><
directive>RemoveEncoding</
directive> $B%G%#%l%/%F%#%V$O!"(B
$BM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?%(%s%3!<%
G%#%
s%
0$
r<h$j>C$7$^$9!#(B
$B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <
code>.htaccess</
code>
$B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%
P$
N@
_Dj%
U%!%$%
k$+$
i7Q>5$7$?4XO"IU$1$r(B
$B<
h$
j>C$9$3$H$,$G$-$^$9!#(B</
p>
AddEncoding x-gzip .gz<
br />
<
p>$B$3$l$O!"(B<
code>
foo.gz</
code> $B$O(B gzip
$B$G%(%s%3!<%
I$
5$
l$
F$$$
k$
3$
H$
r;
XDj$
7$^$
9$,!
"(B<code>foo.gz.asc</code> $B$O%(%s%3!<%I$5$l$F$$$J$$%W%l!<%s%F%-%9%H$N(B $B%U%!%$%k$G$"$
k$
H$$$&$
3$
H$
r;
XDj$
7$^$
9!#(
B</p>
<
note><
title>$BCm0U(B</
title>
<
p><
directive>RemoveEncoding</
directive> $B$O(B
<
directive module="mod_mime">AddEncoding</
directive>
$B%G%#%l%/%F%#%V$N(B<
em>$B8e(B</
em>$B$G=hM}$5$l$^$9$N$G!"(B
$BF1$8%G%#%l%/%H%j$N@_DjCf$KN>J}$,8=$l$k$H!"(B
$B8e<
T$
N8z2L$,
BG$
A>C$5$l$k2DG=@-$,$"$j$^$9!#(B</
p>
<
p><
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B
$B$^$?!":G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
name>RemoveHandler</
name>
<
description>$B%U%!%$%k$N3HD%;R$K4XO"IU$1$i$l$?$9$Y$F$N%O%s%I%i$r(B
$B2r=|$9$k(B</
description>
<
syntax>RemoveHandler <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
p><
directive>RemoveHandler</
directive> $B%G%#%l%/%F%#%V(B
$B$OM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?%O%s%I%i$r<
h$
j>C$7$^$9!#(B
$B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <
code>.htaccess</
code>
$B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%
P$
N@
_Dj%
U%!%$%
k(
B $
B$+$
i7Q>5$7$?4XO"IU$1$r<
h$
j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</
p>
AddHandler server-parsed .html
<
p>$B$3$l$O!"(B<
code>/
foo/
bar</
code> $B%G%#%l%/%H%j$N(B <
code>.html</
code>
$B%U%!%$%k$O(B SSI (<
module>mod_include</
module> $B%b%8%e!<%
k;
2>H(B) $B$G$O$J$/!"(B
$BIaDL$N%U%!%$%k$H$7$F07$o$l$k$h$&$K$9$k8z2L$,$"$j$^$9!#(B
<
p><
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B
$B$^$?!":G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
name>RemoveInputFilter</
name>
<
description>$B%U%!%$%k3HD%;R$K4XO"IU$1$i$l$?F~NO%U%#%k%?$r2r=|$9$k(B</
description>
<
syntax>RemoveInputFilter <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.26 $B0J9_$G;HMQ2DG=(B</
compatibility>
<
p><
directive>RemoveInputFilter</
directive> $B%G%#%l%/%F%#%V$O(B
$B;XDj$5$l$?%U%!%$%k3HD%;R$K4XO"IU$1$i$l$?F~NO%U%#%k%?$r2r=|$7$^$9!#(B
$B$3$l$rMxMQ$9$k$3$H$G!"?F%G%#%l%/%H%j$d%5!<%
P@
_Dj%
U%!%$%
k$+$
i(
B $
B7Q>5$7$?4XO"IU$1$r(B $B%5%V%G%#%l%/%H%jFb$K$*$$$F(B
<
code>.htaccess</
code> $B%U%!%$%k$G<
h$
j>C$9$3$H$,$G$-$^$9!#(B</
p>
<
p><
var>extension</
var> $B0z?t$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#$^$?!"(B
$B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
seealso><
directive module="mod_mime">AddInputFilter</
directive></
seealso>
<
seealso><
directive module="core">SetInputFilter</
directive></
seealso>
<
name>RemoveLanguage</
name>
<
description>$B%U%!%$%k3HD%;R$K4XO"IU$1$i$l$?8@8l$r2r=|$9$k(B</
description>
<
syntax>RemoveLanguage <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.24 $B0J9_$G;HMQ2DG=(B</
compatibility>
<
p><
directive>RemoveLanguage</
directive> $B%G%#%l%/%F%#%V$O(B
$B;XDj$5$l$?%U%!%$%k3HD%;R$K4XO"IU$1$i$l$?8@8l$r2r=|$7$^$9!#(B
$B$3$l$rMxMQ$9$k$3$H$G!"?F%G%#%l%/%H%j$d%5!<%
P@
_Dj%
U%!%$%
k$+$
i(
B $
B7Q>5$7$?4XO"IU$1$r(B $B%5%V%G%#%l%/%H%jFb$K$*$$$F(B
<
code>.htaccess</
code> $B%U%!%$%k$G<
h$
j>C$9$3$H$,$G$-$^$9!#(B</
p>
<
p><
var>extension</
var> $B0z?t$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#$^$?!"(B
$B:G=i$N%I%C%H$O$D$$$F$b$D$+$J$/$F$b9=$$$^$;$s!#(B</
p>
<
name>RemoveOutputFilter</
name>
<
description>$B%U%!%$%k3HD%;R$K4XO"IU$1$i$l$?=PNO%U%#%k%?$r2r=|$9$k(B</
description>
<
syntax>RemoveOutputFilter <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
compatibility>2.0.26 $B0J9_$G$N$_;HMQ2DG=(B</
compatibility>
<
p><
directive>RemoveOutputFilter</
directive> $B%G%#%l%/%F%#%V$O(B
$B;XDj$5$l$?%U%!%$%k3HD%;R$K4XO"IU$1$i$l$?=PNO%U%#%k%?$r2r=|$7$^$9!#(B
$B$3$l$rMxMQ$9$k$3$H$G!"?F%G%#%l%/%H%j$d%5!<%
P@
_Dj%
U%!%$%
k$+$
i(
B $
B7Q>5$7$?4XO"IU$1$r(B $B%5%V%G%#%l%/%H%jFb$K$*$$$F(B
<
code>.htaccess</
code> $B%U%!%$%k$G<
h$
j>C$9$3$H$,$G$-$^$9!#(B</
p>
<
p><
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B
$B$^$?!":G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
example><
title>$BNc(B</
title>
<
seealso><
directive module="mod_mime">AddOutputFilter</
directive></
seealso>
<
description>$B%U%!%$%k$N3HD%;R$H4XO"IU$1$i$l$?%3%s%F%s%H%?%$%W$r(B
$B2r=|$9$k(B</
description>
<
syntax>RemoveType <
var>extension</
var> [<
var>extension</
var>]
<
contextlist><
context>virtual host</
context><
context>directory</
context>
<
context>.htaccess</
context></
contextlist>
<
override>FileInfo</
override>
<
p><
directive>RemoveType</
directive> $B%G%#%l%/%F%#%V$OM?$($i$l$?3HD%;R$N(B
MIME $B%?%$%W$N4XO"IU$1$r<
h$
j>C$7$^$9!#$3$l$K$h$j!"(B
$B%5%V%G%#%l%/%H%j$K$"$k(B <
code>.htaccess</
code>
$B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%
P$
N@
_Dj%
U%!%$%
k$+$
i7Q>5$7$?(B
$B4XO"IU$1$r<
h$
j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</
p>
<
p>$B$3$l$O(B <
code>/foo/</
code> $B%G%#%l%/%H%j0J2<$
N(
B <code>.cgi</
code>
$B%U%!%$%k$NFCJL$J07$$$r<
h$
j>C$7$^$9!#%U%!%$%k$O(B <
directive module="core">DefaultType</
directive> $B$H$7$F07$o$l$^$9!#(B</
p>
<
note><
title>$BCm0U(B</
title>
<
p><
directive>RemoveType</
directive> $B%G%#%l%/%F%#%V$O(B
<
directive module="mod_mime">AddType</
directive>
$B%G%#%l%/%F%#%V$N(B<
em>$B8e(B</
em>$B$K=hM}$5$l$^$9$N$G!"(B
$BN>J}$,F1$8%G%#%l%/%H%j$N@_DjCf$K8=$l$?>l9g!"(B
$B8e<
T$
N8z2L$,
BG$
A>C$5$l$k2DG=@-$,$"$j$^$9!#(B</
p>
<
p><
var>extension</
var> $B$OBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B
$B$^$?!":G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</
p>
<
description><
code>
mime.types</
code> $B%U%!%$%k$N0LCV(B</
description>
<
syntax>TypesConfig <
var>file-path</
var></
syntax>
<
contextlist><
context>server config</
context></
contextlist>
<
p><
directive>TypesConfig</
directive> $B%G%#%l%/%F%#%V$O!"(BMIME
$B%?%$%W@_Dj%U%!%$%k$N0LCV$r@_Dj$7$^$9!#(B<
var>filename</
var> $B$O(B
<
directive module="core">ServerRoot</
directive> $B$+$i$NAjBP%Q%9$G$9!#(B
$B$3$N%U%!%$%k$O%U%!%$%k$N3HD%;R$+$i%3%s%F%s%H%?%$%W$X$N(B
$B%G%U%)%k%H$N%^%C%T%s%0$r@_Dj$7$^$9!#(B
$B$[$H$s$I$N4IM}<
T$
O!
"$h$/;H$o$l$k%U%!%$%kL>$N3HD%;R$r(B IANA $B$KEPO?$5$l$?%3%s%F%s%H%?%$%W$K4XO"IU$
1$
F$$$
k!
"(B Apache $B$N(B <code>mime.types</code> $B%U%!%$%k$r;H$$$^$9!#(B $B8=:_$N0lMw$O(B <a href= $B$G4IM}$5$l$F$$$^$9!#$3$l$O!"<gMW$J%a%G%#%"%?%$%W$NDj5A$rDs6!$7$F!"(B
$BI,MW$H$3$m$r(B <
directive module="mod_mime">AddType</
directive> $B$G(B
$B>e=q$-$9$k!"$H$$$&J}K!$G(B <
code>
httpd.conf</
code> $B$r4JN,$K$7$^$9!#(B
<
code>
mime.types</
code> $B$O%5!<%
P$
r%
"%C%W%0%l!<%I$7$?$H$-$K(B $BCV$-49$($i$l$k$+$b$7$l$J$$$N$G!"$=$
N%
U%!%$%
k$
rD>@\(B
$BJT=8$7$J$$$G$/$@$5$$!#(B</
p>
<
p>$B%U%!%$%k$O!"(B<
directive module="mod_mime">AddType</
directive>
$B%G%#%l%/%F%#%V$N0z?t$HF1$87A<
0$
N9T$
G9=@.$
5$
l$^$
9!#(
B</p>
<
var>MIME-type</
var> [<
var>extension</
var>] ...
<
p>$B3HD%;R$NBgJ8;z>.J8;z$O6hJL$5$l$^$;$s!#6u9T$d%O%C%7%e(B (`#')
$B$G;O$^$k9T$OL5;k$5$l$^$9!#(B</
p>
(1) IANA $B$K4{$KEPO?$5$l$F$$$k!"$"$k$$$O(B (2)
$B9-$/<
u$
1F~$
l$
i$
l$
F$$$
F%
W%
i%
C%
H%[!<%`4V$G%U%!%$%k3HD%;R$K>WFM$,$J$$!"(B
$B$H$$$&>l9g$G$J$1$l$P!"G[I[Cf$N(B <
code>
mime.types</
code>
$B%U%!%$%k$K?7$?$J$b$N$rEPO?$9$k$h$&$K(B
Apache HTTP Server Project $B$K%j%/%(%9%H$7$J$$$G$/$@$5$$!#(B
$B8@8l$dJ8;z%;%C%H$NL>A06u4V$G4{$K;HMQ$5$l$F$$$F!">WFM$N2DG=@-$N$"$k(B
2 $BJ8;z$N3HD%;R$b5Q2<$
5$
l$^$
9!#(
B<
seealso><
module>mod_mime_magic</
module></
seealso>