content-negotiation.xml.ja revision 2d94708883b3a36a39b2bc7982234b674d8cb7a1
<?xml version='1.0' encoding='iso-2022-jp' ?>
<!DOCTYPE manualpage SYSTEM "/style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="/style/manual.ja.xsl"?>
<!-- English Revision: 105989 -->
<!--
Copyright 2002-2005 The Apache Software Foundation or its licensors,
as applicable.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="content-negotiation.xml.meta">
<title>$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</title>
<summary>
<p>Apache $B$O(B HTTP/1.1 $B$N5,3J$K5-=R$5$l$F$$$k%3%s%F%s%H%M%4%7%(!<%7%g%s$r(B
$B%5%]!<%H$7$F$$$^$9!#(B
$B%V%i%&%6$K$h$jDs6!$5$l$?%a%G%#%"%?%$%W!"(B
$B8@8l!"J8;z%;%C%H!"%(%s%3!<%G%#%s%0$NM%@h798~$K4p$E$$$F!"(B
$B:GE,$J%j%=!<%9$NI=8=$rA*Br$G$-$^$9!#(B
$B$^$?!"IT40A4$J%M%4%7%(!<%7%g%s>pJs$rAw$C$F$/$k%V%i%&%6$+$i$N%j%/%(%9%H$r(B
$B$b$C$H8-$/<h$j07$($k$h$&!"$$$/$D$+5!G=$b<BAu$7$F$"$j$^$9!#(B</p>
<p>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$O(B
<module>mod_negotiation</module>
$B%b%8%e!<%k$K$h$C$FDs6!$5$l$F$$$F!"%G%U%)%k%H$GAH$_9~$^$l$F$$$^$9!#(B</p>
</summary>
<section id="about"><title>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F(B</title>
<p>$B%j%=!<%9$O!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<u$1IU$1$k$,!"(B
$B%W%l%$%s%F%-%9%H$dB>$N%?%$%W$h$j$O(B HTML $B$r9%$`!"(B
$BB>$N%a%G%#%"%?%$%W$h$j$O(B GIF $B$d(B JPEG $B$r9%$`!"$7$+$7:G=*<jCJ$H$7$F(B
$BB>$N%a%G%#%"%?%$%W$b<u$1IU$1$k!"$H@_Dj$5$l$F$$$^$9!#(B</p>
<example>
Accept-Language: fr; q=1.0, en; q=0.5<br />
Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1
</example>
<p>Apache $B$O(B HTTP/1.1 $B5,3J$GDj5A$5$l$F$$$k(B 'server
driven' $B%3%s%F%s%H%M%4%7%(!<%7%g%s$r%5%]!<%H$7$F$$$^$9!#(B
<code>Accept</code>, <code>Accept-Language</code>,
<code>Accept-Charset</code>, <code>Accept-Encoding</code>
$B%j%/%(%9%H%X%C%@$r40A4$K%5%]!<%H$7$F$$$^$9!#(BApache $B$O(B
'transparent' $B%3%s%F%s%H%M%4%7%(!<%7%g%s$b%5%]!<%H$7$F$$$^$9$,!"(B
$B$3$l$O(B RFC 2295 $B$H(B RFC 2296 $B$GDj5A$5$l$F$$$k;n83E*$J(B
$B%M%4%7%(!<%7%g%s%W%m%H%3%k$G$9!#(B
$B$3$l$i$N(B RFC$B$GDj5A$5$l$F$$$k(B 'feature negotiation'
$B$O%5%]!<%H$7$F$$$^$;$s!#(B</p>
<p><strong>$B%j%=!<%9(B</strong>$B$H$O(B URI
$B$GFCDj$5$l$k35G0>e$N$b$N$N$3$H$G$9(B (RFC 2396)$B!#(B Apache
$B$N$h$&$J(B HTTP $B%5!<%P$O!"$=$NL>A06u4V$NCf$G$N(B
$B%j%=!<%9$N(B<strong>$BI=8=(B</strong>$B$X$N%"%/%;%9$rDs6!$7$^$9!#(B
$B$=$l$>$l$NI=8=$O(B
$BDj5A$5$l$?%a%G%#%"%?%$%W!"J8;z%;%C%H!"%(%s%3!<%G%#%s%0Ey$N(B
$BIUB0$7$?!"%P%$%HNs$N7A<0$G$9!#(B
$B$=$l$>$l$N%j%=!<%9$O$"$k;~E@$G(B 0 $B8D!"(B1 $B8D!"$=$l0J>e$NI=8=$H(B
$B4XO"IU$1$i$l$k2DG=@-$,$"$j$^$9!#J#?t$NI=8=$,MxMQ$G$-$k>l9g$O!"(B
$B%j%=!<%9$O(B<strong>$B%M%4%7%(!<%7%g%s2DG=$G$"$k(B</strong>$B$H$5$l!"(B
$B8D!9$NI=8=$O(B <strong>variant</strong> $B$H8F$P$l$^$9!#(B
$B%M%4%7%(!<%7%g%s2DG=$J%j%=!<%9$N(B variant $B$,0[$J$k!"(B
$B$=$N>uBV$r;X$7$F!"(B
$B%M%4%7%(!<%7%g%s$N(B<strong>$B<!85(B</strong>$B$H8F$S$^$9!#(B</p>
</section>
<section id="negotiation"><title>Apache $B$K$*$1$k%M%4%7%(!<%7%g%s(B</title>
<p>$B%j%=!<%9$r%M%4%7%(!<%7%g%s$9$k$?$a$K$O!"(B
$B%5!<%P$O(B variant $B$=$l$>$l$K$D$$$F$N>pJs$rCN$C$F$*$/I,MW$,$"$j$^$9!#(B
$B$3$l$O0J2<$NFs$D$NJ}K!$N$I$A$i$+$G9T$o$l$^$9!#(B</p>
<ul>
<li>$B%?%$%W%^%C%W(B
(<em>$B$9$J$o$A(B</em> <code>*.var</code> $B%U%!%$%k(B)
$B$r;H$&J}K!!#(B $B$3$l$O(B variant
$B$rL@<(E*$K5s$2$F$$$k%U%!%$%k$r;XDj$7$^$9!#(B</li>
<li>'Multiviews'
$B$r;H$C$F!"%5!<%P$,0EL[$NFb$K%U%!%$%kL>$K%Q%?!<%s>H9g$r(B
$B9T$J$C$F$=$N7k2L$+$iA*Br$9$kJ}K!!#(B</li>
</ul>
<section id="type-map"><title>type-map $B%U%!%$%k$r;H$&(B</title>
<p>$B%?%$%W%^%C%W$O(B <code>type-map</code> $B%O%s%I%i(B
($B$b$7$/$O!"8E$$(B Apache
$B$N@_Dj$H2<0L8_49$G$"$k(B MIME $B%?%$%W(B
<code>application/x-type-map</code>)
$B$K4XO"IU$1$i$l$?%I%-%e%a%s%H$G$9!#(B
$B$3$N5!G=$r;H$&$?$a$K$O!"$"$k%U%!%$%k$N3HD%;R$r(B
<code>type-map</code>
$B$H$7$FDj5A$9$k$h$&$J%O%s%I%i$r!"(B
$B@_Dj%U%!%$%kCf$KCV$/I,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B
$B$3$l$O(B</p>
<example>AddHandler type-map .var</example>
<p>$B$r%5!<%P@_Dj%U%!%$%kCf$K=q$/$3$H$,0lHVNI$$J}K!$G$9!#(B</p>
<p>$B%?%$%W%^%C%W%U%!%$%k$O5-=R$9$k%j%=!<%9$HF1$8L>A0$r;}$C$F$$$F!"(B
$BMxMQ2DG=$J(B variant $B$=$l$>$l$N%(%s%H%j$r;}$C$F$$$kI,MW$,$"$j$^$9!#(B
$B$=$7$F!"$3$N%(%s%H%j$OO"B3$7$?(B HTTP $B$N%X%C%@9T$G9=@.$5$l$^$9!#(B
$B0[$J$k(B variant $B$N$?$a$N%(%s%H%j$O6u9T$G6h@Z$i$l$F$$$^$9!#(B
$B%(%s%H%jCf$K6u9T$,J#?t$"$C$F$O$$$1$^$;$s!#(B
$B=,47E*$K$O!"%^%C%W%U%!%$%k$OA4BN$r7k9g$7$?$b$N$N%(%s%H%j$+$i;O$^$j$^$9(B
($B$7$+$7$3$l$OI,?\$G$O$J$/!"$"$C$?$H$7$F$bL5;k$5$l$k$b$N$G$9(B)$B!#(B
$B<!$KNc$r<($7$^$9!#$3$N%U%!%$%k$O%j%=!<%9(B <code>foo</code>
$B$r5-=R$7$F$$$k$N$G!"(B<code>foo.var</code> $B$H$$$&L>A0$K$J$j$^$9!#(B</p>
<example>
URI: foo<br />
<br />
URI: foo.en.html<br />
Content-type: text/html<br />
Content-language: en<br />
<br />
URI: foo.fr.de.html<br />
Content-type: text/html;charset=iso-8859-2<br />
Content-language: fr, de<br />
</example>
<p>$B$?$H$((B MultiViews $B$r;HMQ$9$k$h$&$K$J$C$F$$$?$H$7$F$b!"(B
$B%U%!%$%kL>$N3HD%;R$h$j%?%$%W%^%C%W$NJ}$,M%@h8"$r;}$D$H$$$&$3$H$K$b(B
$BCm0U$7$F$/$@$5$$!#(B
variant $B$NIJ<A$,0c$&$H$-$O!"$3$N2hA|$N$h$&$K(B (JPEG, GIF, ASCII
$B%"!<%H$,$"$j$^$9(B) $B%a%G%#%"%?%$%W$N(B "qs"
$B%Q%i%a!<%?$G;XDj$5$l$^$9!#(B</p>
<example>
URI: foo<br />
<br />
URI: foo.jpeg<br />
Content-type: image/jpeg; qs=0.8<br />
<br />
URI: foo.gif<br />
Content-type: image/gif; qs=0.5<br />
<br />
URI: foo.txt<br />
Content-type: text/plain; qs=0.01<br />
</example>
<p>qs $BCM$NHO0O$O(B 0.000 $B$+$i(B 1.000 $B$G$9!#(Bqs $BCM$,(B
0.000 $B$N(B variant $B$O7h$7$F(B
$BA*Br$5$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B'qs' $BCM$N$J$$(B variant
$B$O(B qs $BCM(B 1.0 $B$r(B $BM?$($i$l$^$9!#(Bqs
$B%Q%i%a!<%?$O%/%i%$%"%s%H$NG=NO$K4X78L5$/!"B>$N(B variant $B$H(B
$BHf3S$7$?$H$-$N(B variant
$B$NAjBPE*$J!VIJ<A!W$r<($7$^$9!#(B
$BNc$($P!"<L??$rI=8=$7$h$&$H$7$F$$$k$H$-$O(B JPEG
$B%U%!%$%k$NJ}$,IaDL$O(B ASCII
$B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$7$+$7!"%j%=!<%9$,85!9(B
ASCII $B%"!<%H$GI=8=$5$l$F$$$k$H$-$O!"(BASCII $B%U%!%$%k$N(B
$BJ}$,(B JPEG $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$3$N$h$&$K!"(Bqs
$B$O(B $BI=8=$5$l$k%j%=!<%9$N@-<A$K$h$C$F(B variant
$BKh$KFCM-$NCM$r<h$j$^$9!#(B</p>
<p>$BG'<1$5$l$k%X%C%@$N0lMw$O(B
<a href="mod/mod_negotiation.html#typemaps">mod_negotiation</a>
$B%I%-%e%a%s%H$K$"$j$^$9!#(B</p>
</section>
<section id="multiviews"><title>Multiviews</title>
<p><code>MultiViews</code> $B$O%G%#%l%/%H%jKh$N%*%W%7%g%s$G!"(B
<code>httpd.conf</code>$B%U%!%$%k$N(B
<directive module="core" type="section">Directory</directive>,
<directive module="core" type="section">Location</directive>,
<directive module="core" type="section">Files</directive>
$B%;%/%7%g%sCf$d!"(B(<directive module="core">AllowOverride</directive>
$B$,E,@Z$JCM$K(B $B@_Dj$5$l$F$$$k$H(B) <code>.htaccess</code>
$B%U%!%$%k$G(B <directive module="core">Options</directive>
$B%G%#%l%/%F%#%V$K$h$C$F@_Dj$9$k$3$H$,$G$-$^$9!#(B
<code>Options All</code> $B$O(B
<code>MultiViews</code>
$B$r%;%C%H$7$J$$$3$H$KCm0U$7$F$/$@$5$$!#L@<(E*$K(B
$B$=$NL>A0$r=q$/I,MW$,$"$j$^$9!#(B</p>
<p><code>MultiViews</code> $B$N8z2L$O0J2<$N$h$&$K$J$j$^$9(B:
$B%5!<%P$,(B <code>/some/dir/foo</code>
$B$X$N%j%/%(%9%H$r<u$1<h$j!"(B<code>/some/dir</code> $B$G(B
<code>MultiViews</code> $B$,M-8z$G$"$C$F!"(B
<code>/some/dir/foo</code> $B$,B8:_(B<em>$B$7$J$$(B</em>$B>l9g!"(B
$B%5!<%P$O%G%#%l%/%H%j$rFI$s$G(B <code>foo.*</code>
$B$K$"$F$O$^$kA4$F$N%U%!%$%k$rC5$7!"(B
$B;v<B>e$=$l$i$N%U%!%$%k$r%^%C%W$9$k%?%$%W%^%C%W$r:n$j$^$9!#(B
$B$=$N$H$-!"%a%G%#%"%?%$%W$H%3%s%F%s%H%(%s%3!<%G%#%s%0$O!"$=$N%U%!%$%kL>$r(B
$BD>@\;XDj$7$?$H$-$HF1$8$b$N$,3d$jEv$F$i$l$^$9!#(B
$B$=$l$+$i%/%i%$%"%s%H$NMW5a$K0lHV9g$&$b$N$rA*$S$^$9!#(B</p>
<p>$B%5!<%P$,%G%#%l%/%H%j$N:w0z$r:n$m$&$H$7$F$$$k>l9g!"(B
<code>MultiViews</code>
$B$O(B <directive module="mod_dir">DirectoryIndex</directive>
$B%G%#%l%/%F%#%V$G;XDj$5$l$?%U%!%$%k$rC5$92aDx$K$b(B
$BE,MQ$5$l$^$9!#@_Dj%U%!%$%k$K(B</p>
<example>DirectoryIndex index</example>
<p>$B$,=q$+$l$F$$$F!"(B<code>index.html</code> $B$H(B
<code>index.html3</code> $B$,(B
$BN>J}B8:_$7$F$$$k$H!"%5!<%P$O$=$NCf$+$i$I$A$i$+$rE,Ev$KA*$S$^$9!#(B
$B$b$7$=$NN>J}$,B8:_$;$:$K(B <code>index.cgi</code>
$B$,B8:_$7$F$$$k$H!"(B $B%5!<%P$O$=$l$r<B9T$7$^$9!#(B</p>
<p>$B$b$7%G%#%l%/%H%j$rFI$s$G$$$k:]$K!"(B
$BJ8;z%;%C%H!"%3%s%F%s%H%?%$%W!"8@8l!"%(%s%3!<%G%#%s%0$r(B
$B;XDj$9$k$?$a$N(B <code>mod_mime</code>
$B$GG'<1$G$-$k3HD%;R$r;}$?$J$$%U%!%$%k$,8+$D$+$k$H!"7k2L$O(B
<directive module="mod_mime">MultiViewsMatch</directive>
$B%G%#%l%/%F%#%V$N@_Dj$K0MB8$7$^$9!#$3$N%G%#%l%/%F%#%V$O(B
$B%O%s%I%i!"%U%#%k%?!"B>$N%U%!%$%k3HD%;R%?%$%W$N$I$l$,(B
MultiViews $B%M%4%7%(!<%7%g%s$G;HMQ$G$-$k$+$r7hDj$7$^$9!#(B</p>
</section>
</section>
<section id="methods"><title>$B%M%4%7%(!<%7%g%sJ}K!(B</title>
<p>Apache $B$O%j%=!<%9$N(B variant $B$N0lMw$r!"%?%$%W%^%C%W%U%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B8$7$^$9!#(B
Transparent negotiation $B$N=hM}$N2aDx$G!"%V%i%&%6$O(B RFC 2296
$B$G(B $BDj5A$5$l$F$$$k(B 'remote variant selection algorithm'
$B$r<B9T$9$k$h$&$KMj$`$3$H$,$G$-$^$9!#(B</li>
</ol>
<section id="dimensions"><title>$B%M%4%7%(!<%7%g%s$N<!85(B</title>
<table>
<columnspec><column width=".15"/><column width=".85"/></columnspec>
<tr valign="top">
<th>$B<!85(B</th>
<th>$B@bL@(B</th>
</tr>
<tr valign="top">
<td>$B%a%G%#%"%?%$%W(B</td>
<td>$B%V%i%&%6$O(B <code>Accept</code>
$B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
$B%"%$%F%`$=$l$>$l$O!"4XO"$7$?IJ<A?tCM$r;}$D$3$H$,$G$-$^$9!#(B
variant $B$N@bL@$bIJ<A?tCM$r;}$D$3$H$,$G$-$^$9(B
("qs" $B%Q%i%a!<%?$r$4Mw2<$5$$(B)$B!#(B</td>
</tr>
<tr valign="top">
<td>$B8@8l(B</td>
<td>$B%V%i%&%6$O(B <code>Accept-Language</code>
$B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
$BMWAG$=$l$>$l$KIJ<A?tCM$r;}$?$;$k$3$H$,$G$-$^$9!#(B
variants $B$O(B 0 $B$+(B 1 $B$D$+$=$l0J>e$N8@8l$H(B
$B4XO"$E$1$k$3$H$,$G$-$^$9!#(B</td>
</tr>
<tr valign="top">
<td>$B%(%s%3!<%G%#%s%0(B</td>
<td>$B%V%i%&%6$O(B <code>Accept-Encoding</code>
$B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
$BMWAG$=$l$>$l$KIJ<A?tCM$r;}$?$;$k$3$H$,$G$-$^$9!#(B</td>
</tr>
<tr valign="top">
<td>$BJ8;z%;%C%H(B</td>
<td>$B%V%i%&%6$O(B <code>Accept-Charset</code>
$B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
$BMWAG$=$l$>$l$KIJ<A?tCM$r;}$?$;$k$3$H$,$G$-$^$9!#(B
variant $B$O%a%G%#%"%?%$%W$N%Q%i%a!<%?$H$7$FJ8;z%;%C%H$r(B
$B;XDj$9$k$3$H$b$G$-$^$9!#(B</td>
</tr>
</table>
</section>
<section id="algorithm"><title>Apache $B%M%4%7%(!<%7%g%s%"%k%4%j%:%`(B</title>
<p>$B%V%i%&%6$KJV$9!V:GE,$J!W(Bvariant $B$r(B ($B$b$7$"$l$P(B) $BA*Br$9$k$h$&$K(B
Apache $B$O<!$N%"%k%4%j%:%`$r;H$&$3$H$,$G$-$^$9!#(B
$B$3$N%"%k%4%j%:%`$r@_Dj$K$h$jJQ99$9$k$3$H$O$G$-$^$;$s!#(B
$B<!$N$h$&$KF0:n$7$^$9(B:</p>
<ol>
<li>$B$^$:$O$8$a$K!"%M%4%7%(!<%7%g%s$N<!85$=$l$>$l$K$D$$$FE,@Z$J(B
<em>Accept*</em> $B%X%C%@%U%#!<%k%I$rD4$Y!"(B
variant $B$=$l$>$l$KIJ<A$r3d$jEv$F$^$9!#(B
$B$b$7$"$k<!85$N(B <em>Accept*</em> $B%X%C%@$G$=$N(B variant
$B$,5vMF$G$-$J$$$3$H$,<($5$l$F$$$l$P!"$=$l$r:o=|$7$^$9!#(B
variant $B$,0l$D$b;D$C$F$$$J$1$l$P!"%9%F%C%W(B 4 $B$K9T$-$^$9!#(B</li>
<li>
$B>C5nK!$G!V:GE,$J!W(B variant $B$rA*$S$^$9!#(B
$B<!$N%F%9%H$,=gHV$KE,MQ$5$l$^$9!#(B
$B%F%9%H$GA*Br$5$l$J$+$C$?(B variant $B$O:o=|$5$l$F$$$-$^$9!#(B
$B%F%9%H8e(B variant $B$,0l$D$@$1;D$C$F$$$l$P!"$=$l$r:GE,$J$b$N$H$7$F(B
$B%9%F%C%W(B 3 $B$K?J$_$^$9!#(B
$BJ#?t(B variant $B$,;D$C$F$$$l$P!"<!$N%F%9%H$K?J$_$^$9!#(B
<ol>
<li>variant $B$N%a%G%#%"%?%$%W$NIJ<A?tCM$H(B <code>Accept</code>
$B%X%C%@$NIJ<A?tCM$H$N@Q$r7W;;$7$F!":G9bCM$N(B variant
$B$rA*$S$^$9!#(B</li>
<li>$B8@8lIJ<A?tCM$,:G9b$N(B variant $B$rA*$S$^$9!#(B</li>
<li>($B$b$7$"$l$P(B) <code>Accept-Language</code> $B%X%C%@$N8@8l=g$+!"(B
($B$b$7$"$l$P(B)
<directive module="mod_negotiation">LanguagePriority</directive>
$B%G%#%l%/%F%#%V$N8@8l=g$G:GE,$J8@8l$N(B variant $B$rA*$S$^$9!#(B</li>
<li>$B:G9b!V%l%Y%k!W$N%a%G%#%"%Q%i%a!<%?(B
(text/html $B%a%G%#%"%?%$%W$N%P!<%8%g%s$rM?$($k$?$a$K;H$o$l$^$9(B)
$B$r;}$D(B variant $B$rA*$S$^$9!#(B</li>
<li><code>Accept-Charset</code> $B%X%C%@9T$GM?$($i$l$F$$$k:G9b$NJ8;z%;%C%H(B
$B%a%G%#%"%Q%i%a!<%?$r;}$D(B variant $B$rA*$S$^$9!#(B
$BL@<(E*$K=|30$5$l$F$$$J$$8B$j!"(BISO-8859-1
$B$,5vMF$5$l$k$h$&$K$J$C$F$$$^$9!#(B
<code>text/*</code> $B%a%G%#%"%?%$%W$G$"$k$1$l$I$b(B
$BFCDj$NJ8;z%;%C%H$KL@<(E*$K4XO"$E$1$i$l$F$$$k$o$1$G$O$J$$(B
variant $B$O(B ISO-8859-1 $B$G$"$k$H2>Dj$5$l$^$9!#(B</li>
<li>ISO-8859-1 <em>$B$G$O$J$$(B</em>$BJ8;z%;%C%H%a%G%#%"%Q%i%a!<%?$H(B
$B4XO"$E$1$i$l$F$$$k(B variant $B$rA*$S$^$9!#(B
$B$=$N$h$&$J(B variant $B$,$J$$>l9g$O!"Be$o$j$KA4$F$N(B
variant $B$rA*$S$^$9!#(B</li>
<li>$B:GE,$J%(%s%3!<%G%#%s%0$N(B variant $B$rA*$S$^$9!#(B
$B$b$7(B user-agent $B$,5vMF$9$k%(%s%3!<%G%#%s%0$,$"$l$P!"(B
$B$=$N(B variant $B$N$_$rA*$S$^$9!#(B
$B$=$&$G$O$J$/!"$b$7%(%s%3!<%I$5$l$?$b$N$H$=$&$G$J$$(B
variant $B$,:.$6$C$FB8:_$7$F$$$?$i%(%s%3!<%I$5$l$F$$$J$$(B
variant $B$N$_$rA*$S$^$9!#(B
variant $B$,A4It%(%s%3!<%I$5$l$F$$$k$+(B
variant $B$,A4It%(%s%3!<%I$5$l$F$$$J$$$H$$$&>l9g$O!"(B
$BA4$F$N(B variant $B$rA*$S$^$9!#(B</li>
<li>$BFbMF$N:G$bC;$$(B variant $B$rA*$S$^$9!#(B</li>
<li>$B;D$C$F$$$k(B variant $B$N:G=i$N$b$N$rA*$S$^$9!#(B
$B%?%$%W%^%C%W%U%!%$%k$N:G=i$K%j%9%H$5$l$F$$$k$+!"(B
variant $B$,%G%#%l%/%H%j$+$i:G=i$KFI$_9~$^$l$k;~$K(B
ASCII$B=g$G%=!<%H$7$F%U%!%$%kL>$,@hF,$K$J$C$?$+!"$N$I$A$i$+$G$9!#(B</li>
</ol>
</li>
<li>$B%"%k%4%j%:%`$r;H$C$F0l$D$N!V:GE,$J!W(Bvariant $B$rA*$S$^$7$?$N$G!"(B
$B$=$l$r1~Ez$H$7$FJV$7$^$9!#%M%4%7%(!<%7%g%s$N<!85$r;XDj$9$k$?$a$K(B
HTTP $B%l%9%]%s%9%X%C%@(B <code>Vary</code> $B$,@_Dj$5$l$^$9(B
($B%j%=!<%9$N%-%c%C%7%e$r$9$k;~$K!"(B
$B%V%i%&%6$d%-%c%C%7%e$O$3$N>pJs$r;H$&$3$H$,$G$-$^$9(B)$B!#(B
$B0J>e$G=*$o$j!#(B</li>
<li>$B$3$3$KMh$?$H$$$&$3$H$O!"(Bvariant $B$,0l$D$bA*Br$5$l$J$+$C$?(B
($B%V%i%&%6$,5vMF$9$k$b$N$,$J$+$C$?$?$a(B) $B$H$$$&$3$H$G$9!#(B
406 $B%9%F!<%?%9(B ("No Acceptable representation" $B$r0UL#$9$k(B)
$B$,!"MxMQ2DG=$J(B variant $B$N%j%9%H$N$D$$$?(B HTML
$B%I%-%e%a%s%H$H$H$b$KJV$5$l$^$9!#(B
$BAj0c$N<!85$r<($9(B HTTP <code>Vary</code> $B%X%C%@$b@_Dj$5$l$^$9!#(B</li>
</ol>
</section>
</section>
<section id="better"><title>$BIJ<A$NCM$rJQ$($k(B</title>
<p>$B>e5-$N(B Apache $B%M%4%7%(!<%7%g%s%"%k%4%j%:%`$N873J$J2r<a$G(B
$BF@$i$l$k$G$"$m$&CM$+$i!"(BApache $B$OIJ<A?tCM$r;~!9JQ$($^$9!#(B
$B$3$l$O!"$3$N%"%k%4%j%:%`$G40A4$G$O$J$$!"$"$k$$$O@53N$G$J$$>pJs$rAw$k(B
$B%V%i%&%68~$1$K$h$j$h$$7k2L$rF@$k$?$a$K9T$o$l$^$9!#(B
$B$+$J$j%]%T%e%i!<$J%V%i%&%6$G!"$b$7$J$$$H4V0c$C$?(B variant
$B$rA*Br$9$k7k2L$K$J$C$F$7$^$&$h$&$J(B <code>Accept</code>
$B%X%C%@>pJs$rAw$k$b$N$b$"$j$^$9!#(B
$B%V%i%&%6$,40A4$G@5$7$$>pJs$rAw$C$F$$$l$P!"(B
$B$3$N?tCMJQ2=$OE,MQ$5$l$^$;$s!#(B</p>
<section id="wildcards"><title>$B%a%G%#%"%?%$%W$H%o%$%k%I%+!<%I(B</title>
<p><code>Accept:</code> $B%j%/%(%9%H%X%C%@$O%a%G%#%"%?%$%W$NM%@h798~$r;XDj$7$^$9!#(B
$B$3$l$O$^$?!"(B"image/*" $B$d(B "*/*"
$B$H$$$C$?!V%o%$%k%I%+!<%I!W%a%G%#%"%?%$%W$r4^$`$3$H$,$G$-$^$9!#(B
$B$3$3$G(B * $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B
$B$G$9$+$i!"<!$N(B:</p>
<example>Accept: image/*, */*</example>
<p>$B$r4^$`%j%/%(%9%H$O!"(B"image/" $B$G$O$8$^$k%?%$%WA4$F$,5vMF$G$-$k!"(B
$B$=$7$FB>$N$I$s$J%?%$%W$b5vMF$G$-$k(B
($B$3$N>l9g$O$8$a$N(B "image/*" $B$O>iD9$K$J$j$^$9(B)
$B$3$H$r<($7$^$9!#(B
$B07$&$3$H$N$G$-$kL@<(E*$J%?%$%W$K2C$($F!"5!3#E*$K(B
$B%o%$%k%I%+!<%I$rAw$k%V%i%&%6$b$"$j$^$9!#Nc$($P(B:</p>
<example>
Accept: text/html, text/plain, image/gif, image/jpeg, */*
</example>
<p>$B$3$&$9$k$3$H$NA@$$$O!"L@<(E*$K%j%9%H$7$F$$$k%?%$%W$,M%@h$5$l$k$1$l$I$b!"(B
$B0[$J$kI=8=$,MxMQ2DG=$G$"$l$P$=$l$G$bNI$$!"$H$$$&$3$H$G$9!#(B
$B$7$+$7$J$,$i!">e$N4pK\E*$J%"%k%4%j%:%`$G$O!"(B
*/* $B%o%$%k%I%+!<%I$OB>$NA4$F$N%?%$%W$HA4$/F1Ey$J$N$GM%@h$5$l$^$;$s!#(B
$B%V%i%&%6$O(B */* $B$K$b$C$HDc$$IJ<A(B ($BM%@h(B)
$BCM$rIU$1$F%j%/%(%9%H$rAw$k$Y$-$J$N$G$9!#Nc$($P(B:</p>
<example>
Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
</example>
<p>$BL@<(E*$J%?%$%W$K$OIJ<A?tCM$,IU$1$i$l$F$$$^$;$s$N$G!"(B
$B%G%U%)%k%H$N(B 1.0 ($B:G9bCM(B) $B$NM%@h$K$J$j$^$9!#(B
$B%o%$%k%I%+!<%I(B */* $B$ODc$$M%@hEY(B 0.01 $B$rM?$($i$l$F$$$k$N$G!"(B
$BL@<(E*$K%j%9%H$5$l$F$$$k%?%$%W$K9gCW$9$k(B variant $B$,$J$$>l9g$K$N$_!"(B
$BB>$N%?%$%W$,JV$5$l$^$9!#(B</p>
<p>$B$b$7(B <code>Accept:</code> $B%X%C%@$,(B q $BCM$rA4$/4^$s$G(B<em>$B$$$J$1$l$P(B</em>$B!"(B
$BK>$_$N5sF0$r$9$k$?$a$K!"(B
Apache $B$O(B "*/*" $B$,$"$l$P(B 0.01 $B$N(B q $BCM$r@_Dj$7$^$9!#(B
$B$^$?!"(B"type/*" $B$N7A$N%o%$%k%I%+!<%I$K$O(B 0.02 $B$N(B q $BCM$r@_Dj$7$^$9(B
($B$G$9$+$i$3$l$i$O(B "*/*" $B$N%^%C%A$h$j$bM%@h$5$l$^$9(B)$B!#(B
$B$b$7(B <code>Accept:</code> $B%X%C%@Cf$N%a%G%#%"%?%$%W$N$I$l$+$,(B q
$BCM$r4^$s$G$$$l$P!"$3$l$i$NFC<l$JCM$OE,1~(B<em>$B$5$l$:(B</em>$B!"(B
$B@5$7$$>pJs$rAw$k%V%i%&%6$+$i$N%j%/%(%9%H$O4|BTDL$j$K(B
$BF0:n$9$k$h$&$K$J$j$^$9!#(B</p>
</section>
<section id="exceptions"><title>$B8@8l%M%4%7%(!<%7%g%s$NNc30=hM}(B</title>
<p>Apache 2.0 $B$G$O?7$?$K!"8@8l%M%4%7%(!<%7%g%s$,E,9g$9$k$b$N$r(B
$B8+$D$1$k$N$K<:GT$7$?;~$K!"M%2m$K%U%)!<%k%P%C%/$G$-$k$h$&$J(B
$B%M%4%7%(!<%7%g%s%"%k%4%j%:%`$,4v$D$+DI2C$5$l$^$7$?!#(B</p>
<p>$B%5!<%P$N%Z!<%8$r%/%i%$%"%s%H$,%j%/%(%9%H$7$?$1$l$I$b!"(B
$B%V%i%&%6$NAw$C$F$-$?(B <code>Accept-Language</code> $B$K9gCW$9$k%Z!<%8$,0l$D$b(B
$B8+$D$+$i$J$+$C$?>l9g$K!"%5!<%P$O(B "No Acceptable Variant"
$B$+(B "Multiple Choices" $B%l%9%]%s%9$r%/%i%$%"%s%H$KJV$7$^$9!#(B
$B$3$l$i$N%(%i!<%a%C%;!<%8$rJV$5$J$$$h$&$K!"(B
$B$3$N$h$&$J>l9g$K$O(B Apache $B$,(B <code>Accept-Language</code> $B$rL5;k$7$F!"(B
$B%/%i%$%"%s%H$N%j%/%(%9%H$KL@<(E*$K$O9gCW$7$J$$%I%-%e%a%s%H$r(B
$BDs6!$9$k$h$&$K@_Dj$G$-$^$9!#(B
<directive module="mod_negotiation">ForceLanguagePriority</directive>
$B%G%#%l%/%F%#%V$O!"$3$l$i$N%(%i!<$N0l$D$+N>J}$r%*!<%P!<%i%$%I$9$k$?$a$K(B
$B;HMQ$G$-$F!"(B
<directive module="mod_negotiation">LanguagePriority</directive>
$B%G%#%l%/%F%#%V$NFbMF$r;H$C$F%5!<%P$NH=CG$rBe9T$9$k$h$&$K$G$-$^$9!#(B</p>
<p>$B%5!<%P$OB>$KE,9g$9$k$b$N$,8+$D$+$i$J$1$l$P!"(B
$B8@8l%5%V%;%C%H$GE,9g$9$k$b$N$r;n$=$&$H$b$7$^$9!#(B
$BNc$($P%/%i%$%"%s%H$,1Q9q1Q8l$G$"$k(B <code>en-GB</code> $B8@8l$G(B
$B%I%-%e%a%s%H$r%j%/%(%9%H$7$?>l9g!"%5!<%P$O(B HTTP/1.1
$B5,3J$G$O!"C1$K(B <code>en</code> $B$H%^!<%/$5$l$F$$$k%I%-%e%a%s%H$r(B
$B%^%C%A$9$k$b$N$H$9$k$3$H$ODL>o$O5v$5$l$F$$$^$;$s!#(B
($B1Q9q1Q8l$OM}2r$G$-$k$1$I0lHLE*$J1Q8l$OM}2r$G$-$J$$$H$$$&FI$_<j$O(B
$B9M$($i$l$J$$$N$G!"(BAccept-Language $B%X%C%@$G(B <code>en-GB</code>
$B$r4^$s$G(B <code>en</code> $B$r4^$^$J$$$N$O$[$\3N<B$K@_Dj$N4V0c$$$G$"$k!"(B
$B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
$B$G$9$,IT9,$J$3$H$K!"B?$/$N%/%i%$%"%s%H$G$O%G%U%)%k%H$G(B
$B$3$N$h$&$J@_Dj$K$J$C$F$$$^$9!#(B)
$B$7$+$7$J$,$i!"B>$N8@8l$K$O%^%C%A$;$:!"(B"No Acceptable Variants"
$B%(%i!<$rJV$7$?$j!"(B
<directive module="mod_negotiation">LanguagePriority</directive>
$B$K%U%)!<%k%P%C%/$7$h$&$H$7$F$$$k$H$-$O!"(B
$B%5%V%;%C%H;XDj$rL5;k$7$F!"(B<code>en-GB</code> $B$r(B <code>en</code>
$B$K%^%C%A$7$^$9!#(B
Apache $B$O%/%i%$%"%s%H$N5vMF8@8l%j%9%H$K0EL[$K(B
$BHs>o$KDc$$IJ<ACM$N?F8@8l$r2C$($k$3$H$K$J$j$^$9!#(B
$B$7$+$7!"%/%i%$%"%s%H$,(B "en-GB; q=0.9, fr; q=0.8" $B$H%j%/%(%9%H$7$F!"(B
$B%5!<%P$,(B "en" $B$H(B "fr" $B$H@_7W$5$l$?%I%-%e%a%s%H$r;}$C$F$$$k>l9g$O!"(B
"fr" $B%I%-%e%a%s%H$,JV$5$l$k$3$H$KCm0U$7$F$/$@$5$$!#(B
$B$3$N$h$&$J=hM}$O!"(BHTTP 1.1 $B5,3J$H$N@09g@-$r0];}$7$F!"(B
$BE,@Z$K@_Dj$5$l$?%/%i%$%"%s%H$H$b$-$A$s$HF0:n$9$k$?$a$K(B
$BI,MW$G$9!#(B</p>
<p>$B$h$j9bEY$J%F%/%K%C%/(B (Cookie $B$dFC<l$J(B URL $B%Q%9Ey(B)
$B$K$*$$$F$b%f!<%6$N8@8lA*Br$r%5%]!<%H$9$k$?$a!"(B
Apache 2.0.47 $B$+$i$O!"(B<module>mod_negotiation</module>
$B$,(B<a href="env.html">$B4D6-JQ?t(B</a> <code>prefer-language</code>
$B$rG'<1$9$k$h$&$K$J$j$^$7$?!#(B
$B$3$NJQ?t$,B8:_$7$F!"E,@Z$J8@8l%?%0$,BeF~$5$l$F$$$k$N$G$"$l$P!"(B
<module>mod_negotiation</module> $B$O9gCW$9$k(B variant
$B$rA*Br$7$h$&$H$7$^$9!#9gCW$9$k$b$N$,L5$1$l$P!"(B
$BDL>o$N%M%4%7%(!<%7%g%s<j=g$,E,MQ$5$l$^$9!#(B</p>
<example><title>Example</title>
SetEnvIf Cookie "language=(.+)" prefer-language=$1
</example>
</section>
</section>
<section id="extensions"><title>Transparent Content Negotiation
$B$N3HD%(B</title>
<p>Apache $B$O(B transparent content negotiation $B%W%m%H%3%k(B
(RFC 2295) $B$r<!$N$h$&$K3HD%$7$F$$$^$9!#(B
$BFCDj$N%3%s%F%s%H%(%s%3!<%G%#%s%0$N$_$,MxMQ2DG=$G$"$k(B variant
$B$K0u$rIU$1$k$?$a$K!"?7$?$K(B <code>{encoding ..}</code>
$BMWAG$r(B variant $B%j%9%HCf$K;H$C$F$$$^$9!#(B
$B%j%9%HCf$N%(%s%3!<%I$5$l$?(B variant $B$rG'<1$7!"(B
<code>Accept-Encoding</code> $B%j%/%(%9%H%X%C%@$K=>$C$F5vMF$5$l$k(B
$B%(%s%3!<%I$r$b$C$?(B variant $B$O!"$I$l$G$b8uJd(B variant
$B$H$7$F;HMQ$9$k$h$&$K!"(B
RVSA/1.0 $B%"%k%4%j%:%`(B (RFC 2296) $B$N<BAu$,3HD%$5$l$^$7$?!#(B
RVSA/1.0 $B$N<BAu$G$O!":GE,$J(B variant $B$,8+$D$+$k$^$G!"(B
$B7W;;$7$?IJ<A?tCM$O>.?tE@0J2<(B 5 $B7e$^$G4]$a$^$;$s!#(B</p>
</section>
<section id="naming"><title>$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@(B</title>
<p>$B8@8l%M%4%7%(!<%7%g%s$r;H$C$F$$$k>l9g$O!"(B
$B%U%!%$%k$,0l$D0J>e$N3HD%;R$r;}$F$F!"(B
$B3HD%;R$N=gHV$ODL>o$O9MN8$5$l$J$$(B
($B>\:Y$O(B <a href="mod/mod_mime.html#multipleext">mod_mime</a>
$B$r;2>H(B) $B$N$G!"(B
$B4v$D$+$N0[$J$kL>A0$NJQ49$rA*$Y$k$3$H$K$J$j$^$9!#(B</p>
<p>$BE57?E*$J%U%!%$%k$G$O!"(BMIME $B%?%$%W3HD%;R(B (<em>$BNc$($P(B</em>
<code>html</code>) $B$r;}$C$F$$$F!"%(%s%3!<%G%#%s%03HD%;R(B
(<em>$BNc$($P(B</em> <code>gz</code>) $B$r;}$C$F$$$k$+$b$7$l$J$/$F!"(B
$B$3$N%U%!%$%k$K0[$J$k8@8l(B variant $B$rMQ0U$7$F$$$l$P!"(B
$B$b$A$m$s8@8l3HD%;R(B (<em>$BNc$($P(B</em> <code>en</code>)
$B$r;}$C$F$$$k$G$7$g$&!#(B</p>
<p>$BNc(B:</p>
<ul>
<li>foo.en.html</li>
<li>foo.html.en</li>
<li>foo.en.html.gz</li>
</ul>
<p>$B%U%!%$%kL>$H!"$=$l$KBP$7$F;H$($k%j%s%/$H;H$($J$$%j%s%/$NNc$G$9(B:</p>
<table border="1" cellpadding="8" cellspacing="0">
<columnspec><column width=".2"/><column width=".2"/>
<column width=".2"/></columnspec>
<tr>
<th>$B%U%!%$%kL>(B</th>
<th>$B;H$($k%j%s%/(B</th>
<th>$B;H$($J$$%j%s%/(B</th>
</tr>
<tr>
<td><em>foo.html.en</em></td>
<td>foo<br />
foo.html</td>
<td>-</td>
</tr>
<tr>
<td><em>foo.en.html</em></td>
<td>foo</td>
<td>foo.html</td>
</tr>
<tr>
<td><em>foo.html.en.gz</em></td>
<td>foo<br />
foo.html</td>
<td>foo.gz<br />
foo.html.gz</td>
</tr>
<tr>
<td><em>foo.en.html.gz</em></td>
<td>foo</td>
<td>foo.html<br />
foo.html.gz<br />
foo.gz</td>
</tr>
<tr>
<td><em>foo.gz.html.en</em></td>
<td>foo<br />
foo.gz<br />
foo.gz.html</td>
<td>foo.html</td>
</tr>
<tr>
<td><em>foo.html.gz.en</em></td>
<td>foo<br />
foo.html<br />
foo.html.gz</td>
<td>foo.gz</td>
</tr>
</table>
<p>$B>e$NI=$r8+$F!"3HD%;R$J$7$N%j%s%/(B (<em>$BNc$($P(B</em> <code>foo</code>)
$B$,$$$D$G$b;H$($k$3$H$K5$$,IU$/$G$7$g$&!#(B
$B$3$NMxE@$O!"%I%-%e%a%s%H$H$7$F1~Ez$9$k%U%!%$%k$N(B
$B<B:]$N%U%!%$%k%?%$%W$r1#JC$7$F!"%j%s%/$N;2>H$rJQ99$9$k$3$H$J$/(B
$B8e$+$i%U%!%$%k$rJQ99$G$-$k!"(B
<em>$BNc$($P(B</em> <code>html</code> $B$+$i(B <code>shtml</code>
$B$K!"$"$k$$$O(B <code>cgi</code> $B$KJQ99$G$-$kE@$G$9!#(B</p>
<p>$B%j%s%/$K(B MIME $B%?%$%W$r;H$$B3$1$?$$(B (<em>$BNc$($P(B</em>
<code>foo.html</code>)$B;~$O!"8@8l3HD%;R$O(B
($B%(%s%3!<%G%#%s%03HD%;R$b$"$l$P$=$l$b4^$a$F(B)
MIME $B%?%$%W3HD%;R$N1&B&$K$J$1$l$P$J$j$^$;$s(B
(<em>$BNc$($P(B</em> <code>foo.html.en</code>)$B!#(B</p>
</section>
<section id="caching"><title>$B%-%c%C%7%e$K4X$9$kCm0U;v9`(B</title>
<p>$B%-%c%C%7%e$,0l$D$NI=8=$rJ]B8$7$F$$$k$H$-$O!"(B
$B%j%/%(%9%H(B URL $B$H4XO"$E$1$i$l$F$$$^$9!#(B
$B<!$K$=$N(B URL $B$,%j%/%(%9%H$5$l$?;~$K!"%-%c%C%7%e$O(B
$BJ]B8$5$l$F$$$kI=8=$r;HMQ$G$-$^$9!#$7$+$7!"(B
$B%j%=!<%9$,%5!<%P$G%M%4%7%(!<%7%g%s2DG=$G$"$l$P!"(B
$B:G=i$N%j%/%(%9%H$G%-%c%C%7%e$5$l$FB3$/%-%c%C%7%e%R%C%H$G$O(B
$B4V0c$C$?1~Ez$rJV$7$F$7$^$&$H$$$&$3$H$K$J$j$+$M$^$;$s!#(B
$B$3$l$rKI$0$?$a$K!"(BApache $B$O%3%s%F%s%H%M%4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9!#(B</p>
</section>
<section id="more"><title>$BDI2C>pJs(B</title>
<p>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K4X$9$kDI2C>pJs$O!"(B
Alan J. Flavell $B$5$s$N(B<a
href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
Negotiation Notes</a> $B$r$4Mw2<$5$$!#$G$9$,!"(B
Apache 2.0 $B$G$NJQ99E@$r4^$`$?$a$K$O99?7$5$l$F$$$J$$$+$b$7$l$J$$(B
$B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B</p>
</section>
</manualpage>