Current Path : /compat/linux/proc/self/root/usr/local/share/doc/apache/mod/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/share/doc/apache/mod/mod_mime.html.ja.jis |
<?xml version="1.0" encoding="iso-2022-jp"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <title>Apache module mod_mime</title> </head> <!-- English revision: 1.54 --> <!-- Background white, links blue (unvisited), navy (visited), red (active) --> <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000080" alink="#ff0000"> <div align="CENTER"> <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> <h3>Apache HTTP Server Version 1.3</h3> <p><small><em>Is this the version you want? For more recent versions, check our <a href="/docs/">documentation index</a>.</em></small></p> </div> <h1 align="center">mod_mime $B%b%8%e!<%k(B</h1> <p>$B$3$N%b%8%e!<%k$O!"%U%!%$%k$N%?%$%W$r%U%!%$%kL>$+$i7hDj$9$k5!G=$H!"(B $B%U%!%$%k$K%O%s%I%i$r4XO"IU$1$k5!G=$rDs6!$7$^$9!#(B</p> <p><a href="module-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="module-dict.html#sourcefile" rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_mime.c<br /> <a href="module-dict.html#moduleidentifier" rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> mime_module </p> <h2>$B35MW(B</h2> $B$3$N%b%8%e!<%k$O!"%I%-%e%a%s%H$N$$$m$$$m$J!V%a%?>pJs!W(B $B$r7hDj$9$k$?$a$K;HMQ$5$l$^$9!#$3$N>pJs$O(B $B%I%-%e%a%s%H$N%3%s%F%s%D$K4XO"$7$F$$$k$b$N$G!"%V%i%&%6$KJV$5$l$?$j!"(B $B%5!<%PFb$G%3%s%F%s%H%M%4%7%(!<%7%g%s$K;H$o$l$?$j$7$^$9!#(B $B$5$i$K!"!V%O%s%I%i!W$r%I%-%e%a%s%H$KBP$7$F@_Dj$9$k$3$H$,$G$-$^$9!#(B $B%O%s%I%i$O%5!<%PFb$G%I%-%e%a%s%H$r$I$N$h$&$K=hM}$9$k$+$r7hDj$7$^$9!#(B <p>$B%G%#%l%/%F%#%V(B <a href="#addcharset">AddCharset</a>, <a href="#addencoding">AddEncoding</a>, <a href="#addhandler" >AddHandler</a>, <a href="#addlanguage">AddLanguage</a>, <a href="#addtype">AddType</a> $B$O$9$Y$F!"(B $B%U%!%$%k$N3HD%;R$r%a%?>pJs$K%^%C%W$9$k$?$a$K;HMQ$5$l$^$9!#(B $B$=$l$>$l!"%I%-%e%a%s%H$NJ8;z%;%C%H(B ($BLuCm(B: charset)$B!"(Bcontent-encoding, $B%O%s%I%i!"(Bcontent-language, MIME $B%?%$%W(B (content-type) $B$r@_Dj$7$^$9!#(B $B%G%#%l%/%F%#%V(B <a href="#typesconfig">TypesConfig</a> $B$O3HD%;R$r(B MIME $B%?%$%W$K%^%C%W$9$k%U%!%$%k$r;XDj$9$k$?$a$K;HMQ$5$l$^$9!#(B $B%G%#%l%/%F%#%V(B <a href="#forcetype">ForceType</a> $B$H(B <a href="#sethandler">SetHandler</a> $B$O!"M?$($i$l$?>l=j(B (<em>$BNc$($P(B</em>$B!"FCDj$N%G%#%l%/%H%j(B) $B$K$"$k$9$Y$F$N%U%!%$%k$rFCDj$N(B MIME $B%?%$%W$d%O%s%I%i$K4XO"IU$1$k$?$a$K;HMQ$5$l$^$9!#(B</p> <p>$B%U%!%$%k$N%?%$%W$d%(%s%3!<%G%#%s%0$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</p> <h2>$B%G%#%l%/%F%#%V(B</h2> <ul> <li><a href="#addcharset">AddCharset</a></li> <li><a href="#addencoding">AddEncoding</a></li> <li><a href="#addhandler">AddHandler</a></li> <li><a href="#addlanguage">AddLanguage</a></li> <li><a href="#addtype">AddType</a></li> <li><a href="#defaultlanguage">DefaultLanguage</a></li> <li><a href="#forcetype">ForceType</a></li> <li><a href="#removeencoding">RemoveEncoding</a></li> <li><a href="#removehandler">RemoveHandler</a></li> <li><a href="#removetype">RemoveType</a></li> <li><a href="#sethandler">SetHandler</a></li> <li><a href="#typesconfig">TypesConfig</a></li> </ul> <p>$B;2>H(B: <a href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></p> <h2><a id="multipleext" name="multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></h2> <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!#$?$H$($P!"(B<code>welcome.html.fr</code> $B%U%!%$%k$,%3%s%F%s%H%?%$%W$O(B <code>text/html</code> $B$K!"8@8l$O%U%i%s%98l$K%^%C%W$5$l$k>l9g!"(B<code>welcome.fr.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$O8@8l$H%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".gif" $B$,(B MIME $B%?%$%W(B image/gif $B$K%^%C%W$5$l!"(B".html" $B$,(B MIME $B%?%$%W(B text/html $B$K%^%C%W$5$l$k>l9g$O!"%U%!%$%k(B <code>welcome.gif.html</code> $B$O(B MIME $B%?%$%W(B "text/html" $B$K4XO"IU$1$i$l$^$9!#(B</p> <p>$B8@8l$H%3%s%F%s%H%(%s%3!<%G%#%s%0$O$=$l$^$G$N$b$N$KDI2C$7$F07$o$l$^$9!#(B $B$3$l$OFCDj$N%j%=!<%9$KBP$7$F0l$D0J>e$N8@8l$d%(%s%3!<%G%#%s%0$r(B $B3d$jEv$F$k$3$H$,$G$-$k$+$i$G$9!#Nc$($P!"%U%!%$%k(B <code>welcome.html.en.de</code> $B$,(B <code>Content-Language: en, de</code> $B$G(B <code>Content-Type: text/html</code> $B$H$$$C$?6q9g$G$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 (mod_imap $B$N(B) "imap-file" $B$K%^%C%W$5$l$F$$$F!"(B <code>.html</code> $B$,(B MIME $B%?%$%W(B "text/html" $B$K%^%C%W$5$l$F$$$k$H$-$O!"%U%!%$%k(B <code>world.imap.html</code> $B$O(B "imap-file" $B%O%s%I%i$H(B "text/html" MIME $B%?%$%W$K4XO"IU$1$i$l$^$9!#%U%!%$%k$,=hM}$5$l$k$H$-$O(B "imap-file" $B%O%s%I%i$,;HMQ$5$l$^$9$N$G!"$=$N%U%!%$%k$O(B mod_imap $B$N%$%a!<%8%^%C%W%U%!%$%k$H$7$F07$o$l$k$3$H$K$J$j$^$9!#(B</p> <hr /> <h2><a id="addcharset" name="addcharset">AddCharset</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> AddCharset <em>charset extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> AddCharset $B$O(B Apache 1.3.10 $B0J9_$G$N$_;HMQ2DG=!#(B <p>AddCharset $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B charset $B$K%^%C%W$7$^$9!#(B<em>charset</em> $B$O!"3HD%;R(B <em>extension</em> $B$r4^$s$G$$$k%U%!%$%kL>$N(B MIME charset $B%Q%i%a!<%?$G$9!#?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B</p> <p>$BNc(B:</p> <pre> AddLanguage ja .ja AddCharset EUC-JP .euc AddCharset ISO-2022-JP .jis AddCharset SHIFT_JIS .sjis </pre> <p>$B$3$N>l9g!"%I%-%e%a%s%H(B <code>xxxx.ja.jis</code> $B$O(B charset $B$,(B ISO-2022-JP $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!#(BAddCharset $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 href="../content-negotiation.html" >$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 <em>extension</em>$B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <p><strong>$B;2>H(B</strong>: <a href="mod_negotiation.html">mod_negotiation</a></p> <hr /> <h2><a id="addencoding" name="addencoding">AddEncoding</a> $B%G%#%l%/%F%#%V(B</h2> <!--%plaintext <?INDEX {\tt AddEncoding} directive> --> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> AddEncoding <em>MIME-enc extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <p>AddEncoding $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B $B%(%s%3!<%G%#%s%0$K%^%C%W$7$^$9!#(B<em>MIME-enc</em> $B$O!"3HD%;R(B <em>extension</em> $B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME $B%(%s%3!<%G%#%s%0$G$9!#$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"(B $BF1$83HD%;R(B <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#Nc(B:</p> <blockquote> <code>AddEncoding x-gzip .gz<br /> AddEncoding x-compress .Z</code> </blockquote> $B$3$l$O!"3HD%;R(B .gz $B$r4^$`%U%!%$%kL>$,(B x-gzip $B%(%s%3!<%G%#%s%0$r;H$C$F%(%s%3!<%I$5$l$F$$$k$3$H$H!"3HD%;R(B .Z $B$r4^$`%U%!%$%kL>$,(B x-compress $B$G%(%s%3!<%I$5$l$F$$$k$3$H$r<($7$^$9!#(B <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> <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <p><strong>$B;2>H(B</strong>: <a href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> <hr /> <h2><a id="addhandler" name="addhandler">AddHandler</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> AddHandler <em>handler-name extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> AddHandler $B$O(B Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> <p>AddHandler $B$O!"3HD%;R(B <em>extension</em> $B$r(B<a href="../handler.html">$B%O%s%I%i(B</a> <em>handler-name</em> $B$K%^%C%W$7$^$9!#$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"(B $BF1$83HD%;R(B <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%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> <pre> AddHandler cgi-script .cgi </pre> <p>$B$3$l$r(B srm.conf $B$+(B httpd.conf $B%U%!%$%k$K5-=R$9$k$3$H$G!"3HD%;R(B "<code>.cgi</code>" $B$r4^$`%U%!%$%k$O(B CGI $B%W%m%0%i%`$H$7$F07$o$l$^$9!#(B </p> <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <p><strong>$B;2>H(B</strong>: <a href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a>$B!"(B <a href="#sethandler">SetHandler</a></p> <hr /> <h2><a id="addlanguage" name="addlanguage">AddLanguage</a> $B%G%#%l%/%F%#%V(B</h2> <!--%plaintext <?INDEX {\tt AddLanguage} directive> --> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> AddLanguage <em>MIME-lang extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <p>AddLanguage $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<em>MIME-lang</em> $B$O!"3HD%;R(B <em>extension</em> $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$b$N$KDI2C$5$l!"F1$83HD%;R(B <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B </p> <p>$BNc(B:</p> <blockquote> <code>AddEncoding x-compress .Z<br /> AddLanguage en .en<br /> AddLanguage fr .fr<br /> </code> </blockquote> <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!#(BAddLanguage $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 href="../content-negotiation.html" >$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> <pre> AddLanguage en .en AddLanguage en-gb .en AddLanguage en-us .en </pre> <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 <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <p><strong>$B;2>H(B</strong>: <a href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a>$B!"(B <a href="#defaultlanguage">DefaultLanguage</a><br /> <strong>$B;2>H(B</strong>: <a href="./mod_negotiation.html">mod_negotiation</a> </p> <hr /> <h2><a id="addtype" name="addtype">AddType</a> $B%G%#%l%/%F%#%V(B</h2> <!--%plaintext <?INDEX {\tt AddType} directive> --> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> AddType <em>MIME-type extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime <p>AddType $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 <em>MIME-type</em> $B$O3HD%;R(B <em>extension</em> $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$b$N$KDI2C$5$l!"F1$83HD%;R(B <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%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 (<code><a href="#typesconfig">TypesConfig</a></code> $B%G%#%l%/%F%#%V$r;2>H(B) $B$K$J$$%^%C%T%s%0$rDI2C$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#Nc(B:</p> <blockquote> <code>AddType image/gif .gif</code> </blockquote> $B?7$7$$(B MIME $B%?%$%W$O!"(B<a href="#typesconfig">TypesConfig</a> $B%U%!%$%k$rJQ99$9$k$N$G$O$J$/!"(BAddType $B%G%#%l%/%F%#%V$r;H$C$FDI2C$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B <p>NCSA httpd $B$H$O0c$C$F!"$3$N%G%#%l%/%F%#%V$OFCDj$N%U%!%$%k$N(B $B%?%$%W$r@_Dj$9$k$3$H$O$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</p> <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <p><strong>$B;2>H(B</strong>: <a href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> <hr /> <h2><a id="defaultlanguage" name="defaultlanguage">DefaultLanguage</a> $B%G%#%l%/%F%#%V(B</h2> <!--%plaintext <?INDEX {\tt DefaultLanguage} directive> --> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> DefaultLanguage <em>MIME-lang</em><br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#override" rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> DefaultLanguage $B$O(B Apache 1.3.4 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> <p>DefaultLanguage $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 <code><Directory></code> $B$NHO0O(B) $B$K$"$k!"L@<(E*$J8@8l3HD%;R(B (<samp>AddLanguage</samp> $B$G@_Dj$5$l$k(B <samp>.fr</samp> $B$d(B <samp>.de</samp>) $B$N$J$$A4$F$N%U%!%$%k$r!";XDj$5$l$?(B <em>MIME-lang</em> $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 <samp>DefaultLanguage</samp> $B$O0l$D$N8@8l$7$+;XDj$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</p> <p>$BNc$($P(B:</p> <code>DefaultLanguage fr</code> <p><samp>DefaultLanguage</samp> $B%G%#%l%/%F%#%V$,M-8z$G$J$/!"%U%!%$%k$K(B <samp>AddLanguage</samp> $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> <p><strong>$B;2>H(B</strong>: <a href="./mod_negotiation.html">mod_negotiation</a><br /> <strong>$B;2>H(B</strong>: <a href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> <hr /> <h2><a id="forcetype" name="forcetype">ForceType</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> ForceType <em>media-type</em>|None<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> ForceType $B$O(B Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B <p><code>.htaccess</code> $B$d(B <code><Directory></code> $B%;%/%7%g%s!"(B<code><Location></code> $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B <em>media type</em> $B$G;XDj$5$l$?%3%s%F%s%H%?%$%W$H$7$F07$o$l$k$3$H$r6/@)$7$^$9!#$?$H$($P!"(B GIF $B%U%!%$%k$P$+$j$N%G%#%l%/%H%j$,$"$C$F!"$9$Y$F$N%U%!%$%k$r(B ".gif" $B$G=*$o$i$;$?$/$O$J$$$H$-$K!"0J2<$N$b$N$r;HMQ$7$^$9(B:</p> <pre> ForceType image/gif </pre> <p>$B$3$l$O!"%a%G%#%"%?%$%W$r7hDj$9$k$+$b$7$l$J$$$9$Y$F$N3HD%;R$r(B $B>e=q$-$9$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> <p>$BCM$r(B <code>none</code> $B$K@_Dj$9$k$3$H$G!"(B $B0JA0$N(B <directive>ForceType</directive> $B$N$9$Y$F$N@_Dj$r>e=q$-$9$k$3$H$b(B $B$G$-$^$9(B:</p> <pre> # force all files to be image/gif: <Location /images> ForceType image/gif </Location> # but normal mime-type associations here: <Location /images/mixed> ForceType none </Location> </pre> <p><strong>$B;2>H(B</strong>: <a href="#addtype">AddType</a></p> <hr /> <h2><a id="removeencoding" name="removeencoding">RemoveEncoding</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> RemoveEncoding <em>extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> RemoveEncoding $B$O(B Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=!#(B <p><samp>RemoveEncoding</samp> $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!#$?$H$($P(B:</p> <dl> <dt><code>/foo/.htaccess:</code></dt> <dd><code>AddEncoding x-gzip .gz</code><br /> <code>AddType text/plain .asc</code><br /> <code><Files *.gz.asc></code><br /> <code> RemoveEncoding .gz</code><br /> <code></Files></code></dd> </dl> <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> <p><strong>$BCm0U(B:</strong> RemoveEncoding $B$O(B <a href="#addencoding">AddEncoding</a> $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>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <hr /> <h2><a id="removehandler" name="removehandler">RemoveHandler</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> RemoveHandler <em>extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> RemoveHandler $B$O(B Apache 1.3.4 $B0J9_$G$N$_;HMQ2DG=!#(B <p><samp>RemoveHandler</samp> $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> <dl> <dt><code>/foo/.htaccess:</code></dt> <dd><code>AddHandler server-parsed .html</code></dd> <dt><code>/foo/bar/.htaccess:</code></dt> <dd><code>RemoveHandler .html</code></dd> </dl> <p>$B$3$l$O!"(B<samp>/foo/bar</samp> $B%G%#%l%/%H%j$N(B <samp>.html</samp> $B%U%!%$%k$O(B SSI $B$G$O$J$/(B (<a href="mod_include.html"><samp>mod_include</samp></a> $B%b%8%e!<%k;2>H(B)$B!"(B $BIaDL$N%U%!%$%k$H$7$F07$o$l$k$h$&$K$9$k8z2L$,$"$j$^$9!#(B </p> <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <hr /> <h2><a id="removetype" name="removetype">RemoveType</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> RemoveType <em>extension</em> [<em>extension</em>] ...<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> RemoveType $B$O(B Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=!#(B <p><samp>RemoveType</samp> $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> <dl> <dt><code>/foo/.htaccess:</code></dt> <dd><code>RemoveType .cgi</code></dd> </dl> <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<a href="core.html#defaulttype" >$B%G%U%)%k%H%?%$%W(B</a>$B$H$7$F07$o$l$^$9!#(B</p> <p><strong>$BCm0U(B:</strong> <code>RemoveType</code> $B%G%#%l%/%F%#%V$O(B <code>AddType</code> $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>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> <hr /> <h2><a id="sethandler" name="sethandler">SetHandler</a> $B%G%#%l%/%F%#%V(B</h2> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> SetHandler <em>handler-name</em>|None<br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> <a href="directive-dict.html#Compatibility" rel="help"><strong>$B8_49@-(B:</strong></a> SetHandler $B$O(B Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B <p><code>.htaccess</code> $B$d(B <code><Directory></code> $B%;%/%7%g%s!"(B<code><Location></code> $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B <em>handler-name</em> $B$G;XDj$5$l$?(B<a href="../handler.html" >$B%O%s%I%i(B</a>$B$G07$o$l$k$3$H$r6/@)$7$^$9!#Nc$($P!"3HD%;R$K4X$o$i$:!"(B $B%G%#%l%/%H%jA4BN$,%$%a!<%8%^%C%W%U%!%$%k$H$7$F2r@O$7$FM_$7$$>l9g$K$O!"(B $B0J2<$r$=$N%G%#%l%/%H%j$N(B <code>.htaccess</code> $B%U%!%$%k$K5-=R$7$^$9(B:</p> <pre> SetHandler imap-file </pre> <p>$BJL$NNc(B: URL <code>http://servername/status</code> $B$,;XDj$5$l$?$H$-$K%5!<%P$,>uBVJs9p$r$9$k$h$&$K$7$?$$$H$-$O!"0J2<$r(B httpd.conf $B$K5-=R$7$^$9(B: ($B>\:Y$O(B <a href="mod_status.html">mod_status</a> $B$r;2>H!#(B) </p> <pre> <Location /status> SetHandler server-status </Location> </pre> <p>$BCM$r(B <code>None</code> $B$K$9$k$3$H$G!"(B $B0JA0$N(B <code>SetHandler</code> $B%G%#%l%/%F%#%V$NDj5A$r>e=q$-$9$k$3$H$,(B $B$G$-$^$9!#(B</p> <p><strong>$B;2>H(B</strong>: <a href="#addhandler">AddHandler</a></p> <hr /> <h2><a id="typesconfig" name="typesconfig">TypesConfig</a> $B%G%#%l%/%F%#%V(B</h2> <!--%plaintext <?INDEX {\tt TypesConfig} directive> --> <a href="directive-dict.html#syntax" rel="help"><strong>$B9=J8(B:</strong></a> TypesConfig <em>filename</em><br /> <a href="directive-dict.html#default" rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>TypesConfig conf/mime.types</code><br /> <a href="directive-dict.html#context" rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> <a href="directive-dict.html#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> <a href="directive-dict.html#module" rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime <p>TypesConfig $B%G%#%l%/%F%#%V$O!"(BMIME $B%?%$%W@_Dj%U%!%$%k$N0LCV$r@_Dj$7$^$9!#(B<em>filename</em> $B$O(B <a href="core.html#serverroot">ServerRoot</a> $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$3$N%U%!%$%k$rJQ99$9$k$3$H$O?d>)$5$l$F$$$^$;$s!#Be$o$j$K(B <a href="#addtype">AddType</a> $B%G%#%l%/%F%#%V$r;HMQ$7$F$/$@$5$$!#(B $B%U%!%$%k$O!"(BAddType $B%3%^%s%I$N0z?t$HF1$87A<0$N9T$G9=@.$5$l$^$9!#(B</p> <blockquote> <em>MIME-type extension extension ...</em> </blockquote> $B3HD%;R$O>.J8;z$KJQ49$5$l$^$9!#6u9T$H%O%C%7%eJ8;z(B ('#') $B$G;O$^$k9T$OL5;k$5$l$^$9!#(B <hr /> <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> <a href="./"><img src="../images/index.gif" alt="Index" /></a> <a href="../"><img src="../images/home.gif" alt="Home" /></a> </body> </html>