home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F277652_contentnegotiation.xml.ja < prev    next >
Extensible Markup Language  |  2004-09-04  |  31KB  |  706 lines

  1. <?xml version='1.0' encoding='iso-2022-jp' ?>
  2. <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
  3. <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
  4. <!-- English Revision: 1.1.2.15 -->
  5.  
  6. <!--
  7.  Copyright 2002-2004 The Apache Software Foundation
  8.  
  9.  Licensed under the Apache License, Version 2.0 (the "License");
  10.  you may not use this file except in compliance with the License.
  11.  You may obtain a copy of the License at
  12.  
  13.      http://www.apache.org/licenses/LICENSE-2.0
  14.  
  15.  Unless required by applicable law or agreed to in writing, software
  16.  distributed under the License is distributed on an "AS IS" BASIS,
  17.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.  See the License for the specific language governing permissions and
  19.  limitations under the License.
  20. -->
  21.  
  22. <manualpage metafile="content-negotiation.xml.meta">
  23.  
  24. <title>$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</title>
  25.  
  26. <summary>
  27.  
  28.     <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
  29.     $B%5%]!<%H$7$F$$$^$9!#(B
  30.     $B%V%i%&%6$K$h$jDs6!$5$l$?%a%G%#%"%?%$%W!"(B
  31.     $B8@8l!"J8;z%;%C%H!"%(%s%3!<%G%#%s%0$NM%@h798~$K4p$E$$$F!"(B
  32.     $B:GE,$J%j%=!<%9$NI=8=$rA*Br$G$-$^$9!#(B
  33.     $B$^$?!"IT40A4$J%M%4%7%(!<%7%g%s>pJs$rAw$C$F$/$k%V%i%&%6$+$i$N%j%/%(%9%H$r(B
  34.     $B$b$C$H8-$/<h$j07$($k$h$&!"$$$/$D$+5!G=$b<BAu$7$F$"$j$^$9!#(B</p>
  35.  
  36.     <p>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$O(B
  37.     <module>mod_negotiation</module>
  38.     $B%b%8%e!<%k$K$h$C$FDs6!$5$l$F$$$F!"%G%U%)%k%H$GAH$_9~$^$l$F$$$^$9!#(B</p>
  39. </summary>
  40.  
  41. <section id="about"><title>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F(B</title>
  42.  
  43.     <p>$B%j%=!<%9$O!"4v$D$+0[$J$C$?I=8=$GMxMQ$G$-$k>l9g$,$"$j$^$9!#(B
  44.     $BNc$($P!"0[$J$k8@8l$d0[$J$k%a%G%#%"%?%$%W!"(B
  45.     $B$^$?$O$=$l$i$NAH$_9g$o$;$GMxMQ$G$-$k$+$bCN$l$^$;$s!#(B
  46.     $B$b$C$H$bE,$7$?A*Br$r$9$kJ}K!$N0l$D$K$O!"%$%s%G%C%/%9%Z!<%8$r(B
  47.     $B%f!<%6$K8+$;$F!"%f!<%6$KA*$s$G$b$i$&J}K!$,$"$j$^$9!#(B
  48.     $B$7$+$7!"%5!<%P$,<+F0E*$KA*$V$3$H$,$G$-$k>l9g$,B?$/$"$j$^$9!#(B
  49.     $B$3$l$O!"%V%i%&%6$,%j%/%(%9%HKh$K!"(B
  50.     $B$I$NI=8=$rSO9%$9$k$+$H$$$&>pJs$rAw$k$3$H$GF0:n$7$F$$$^$9!#(B
  51.     $BNc$($P%V%i%&%6$O!"2DG=$J$i%U%i%s%98l$G>pJs$r8+$?$$!"(B
  52.     $BIT2DG=$J$i$=$NBe$o$j$K1Q8l$G$b$h$$$H!"(B
  53.     $B<+J,$NSO9%$rCN$i$;$k$3$H$,$G$-$^$9!#(B
  54.     $B%V%i%&%6$O%j%/%(%9%H$N%X%C%@$G<+J,$NM%@h798~$rCN$i$;$^$9!#(B
  55.     $B%U%i%s%98l$N$_$NI=8=$rMW5a$9$k>l9g$O!"%V%i%&%6$O<!$rAw$j$^$9!#(B</p>
  56.  
  57. <example>Accept-Language: fr</example>
  58.  
  59.     <p>$B$3$NM%@h798~$O!"A*Br2DG=$JI=8=$,B8:_$7$F!"(B
  60.     $B8@8l$K$h$C$FMM!9$JI=8=$,$"$k>l9g$K$N$_E,MQ$5$l$k(B
  61.     $B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B</p>
  62.  
  63.     <p>$B$b$C$HJ#;($J%j%/%(%9%H$NNc$r5s$2$^$7$g$&!#(B
  64.     $B$3$N%V%i%&%6$O%U%i%s%98l$H1Q8l$r<u$1IU$1$k!"$7$+$7%U%i%s%98l$r9%$`!"(B
  65.     $B$=$7$FMM!9$J%a%G%#%"%?%$%W$r<u$1IU$1$k$,!"(B
  66.     $B%W%l%$%s%F%-%9%H$dB>$N%?%$%W$h$j$O(B HTML $B$r9%$`!"(B
  67.     $BB>$N%a%G%#%"%?%$%W$h$j$O(B GIF $B$d(B JPEG $B$r9%$`!"$7$+$7:G=*<jCJ$H$7$F(B
  68.     $BB>$N%a%G%#%"%?%$%W$b<u$1IU$1$k!"$H@_Dj$5$l$F$$$^$9!#(B</p>
  69.  
  70. <example>
  71.   Accept-Language: fr; q=1.0, en; q=0.5<br />
  72.   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
  73. </example>
  74.  
  75.     <p>Apache $B$O(B HTTP/1.1 $B5,3J$GDj5A$5$l$F$$$k(B 'server
  76.     driven' $B%3%s%F%s%H%M%4%7%(!<%7%g%s$r%5%]!<%H$7$F$$$^$9!#(B
  77.     <code>Accept</code>, <code>Accept-Language</code>, 
  78.     <code>Accept-Charset</code>, <code>Accept-Encoding</code>
  79.     $B%j%/%(%9%H%X%C%@$r40A4$K%5%]!<%H$7$F$$$^$9!#(BApache $B$O(B
  80.     'transparent' $B%3%s%F%s%H%M%4%7%(!<%7%g%s$b%5%]!<%H$7$F$$$^$9$,!"(B
  81.     $B$3$l$O(B RFC 2295 $B$H(B RFC 2296 $B$GDj5A$5$l$F$$$k;n83E*$J(B
  82.     $B%M%4%7%(!<%7%g%s%W%m%H%3%k$G$9!#(B
  83.     $B$3$l$i$N(B RFC$B$GDj5A$5$l$F$$$k(B 'feature negotiation'
  84.     $B$O%5%]!<%H$7$F$$$^$;$s!#(B</p>
  85.  
  86.     <p><strong>$B%j%=!<%9(B</strong>$B$H$O(B URI
  87.     $B$GFCDj$5$l$k35G0>e$N$b$N$N$3$H$G$9(B (RFC 2396)$B!#(B Apache
  88.     $B$N$h$&$J(B HTTP $B%5!<%P$O!"$=$NL>A06u4V$NCf$G$N(B
  89.     $B%j%=!<%9$N(B<strong>$BI=8=(B</strong>$B$X$N%"%/%;%9$rDs6!$7$^$9!#(B
  90.     $B$=$l$>$l$NI=8=$O(B
  91.     $BDj5A$5$l$?%a%G%#%"%?%$%W!"J8;z%;%C%H!"%(%s%3!<%G%#%s%0Ey$N(B
  92.     $BIUB0$7$?!"%P%$%HNs$N7A<0$G$9!#(B
  93.     $B$=$l$>$l$N%j%=!<%9$O$"$k;~E@$G(B 0 $B8D!"(B1 $B8D!"$=$l0J>e$NI=8=$H(B
  94.     $B4XO"IU$1$i$l$k2DG=@-$,$"$j$^$9!#J#?t$NI=8=$,MxMQ$G$-$k>l9g$O!"(B
  95.     $B%j%=!<%9$O(B<strong>$B%M%4%7%(!<%7%g%s2DG=$G$"$k(B</strong>$B$H$5$l!"(B
  96.     $B8D!9$NI=8=$O(B <strong>variant</strong> $B$H8F$P$l$^$9!#(B
  97.     $B%M%4%7%(!<%7%g%s2DG=$J%j%=!<%9$N(B variant $B$,0[$J$k!"(B
  98.     $B$=$N>uBV$r;X$7$F!"(B
  99.     $B%M%4%7%(!<%7%g%s$N(B<strong>$B<!85(B</strong>$B$H8F$S$^$9!#(B</p>
  100. </section>
  101.  
  102. <section id="negotiation"><title>Apache $B$K$*$1$k%M%4%7%(!<%7%g%s(B</title>
  103.  
  104.     <p>$B%j%=!<%9$r%M%4%7%(!<%7%g%s$9$k$?$a$K$O!"(B
  105.     $B%5!<%P$O(B variant $B$=$l$>$l$K$D$$$F$N>pJs$rCN$C$F$*$/I,MW$,$"$j$^$9!#(B
  106.     $B$3$l$O0J2<$NFs$D$NJ}K!$N$I$A$i$+$G9T$o$l$^$9!#(B</p>
  107.  
  108.     <ul>
  109.       <li>$B%?%$%W%^%C%W(B
  110.       (<em>$B$9$J$o$A(B</em> <code>*.var</code> $B%U%!%$%k(B)
  111.       $B$r;H$&J}K!!#(B $B$3$l$O(B variant
  112.       $B$rL@<(E*$K5s$2$F$$$k%U%!%$%k$r;XDj$7$^$9!#(B</li>
  113.  
  114.       <li>'Multiviews'
  115.       $B$r;H$C$F!"%5!<%P$,0EL[$NFb$K%U%!%$%kL>$K%Q%?!<%s>H9g$r(B
  116.       $B9T$J$C$F$=$N7k2L$+$iA*Br$9$kJ}K!!#(B</li>
  117.     </ul>
  118.  
  119.    <section id="type-map"><title>type-map $B%U%!%$%k$r;H$&(B</title>
  120.  
  121.     <p>$B%?%$%W%^%C%W$O(B <code>type-map</code> $B%O%s%I%i(B
  122.     ($B$b$7$/$O!"8E$$(B Apache
  123.     $B$N@_Dj$H2<0L8_49$G$"$k(B MIME $B%?%$%W(B
  124.     <code>application/x-type-map</code>)
  125.     $B$K4XO"IU$1$i$l$?%I%-%e%a%s%H$G$9!#(B
  126.     $B$3$N5!G=$r;H$&$?$a$K$O!"$"$k%U%!%$%k$N3HD%;R$r(B
  127.     <code>type-map</code>
  128.     $B$H$7$FDj5A$9$k$h$&$J%O%s%I%i$r!"(B
  129.     $B@_Dj%U%!%$%kCf$KCV$/I,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B
  130.     $B$3$l$O(B</p>
  131.  
  132. <example>AddHandler type-map .var</example>
  133.  
  134.     <p>$B$r%5!<%P@_Dj%U%!%$%kCf$K=q$/$3$H$,0lHVNI$$J}K!$G$9!#(B</p>
  135.  
  136.     <p>$B%?%$%W%^%C%W%U%!%$%k$O5-=R$9$k%j%=!<%9$HF1$8L>A0$r;}$C$F$$$F!"(B
  137.     $BMxMQ2DG=$J(B variant $B$=$l$>$l$N%(%s%H%j$r;}$C$F$$$kI,MW$,$"$j$^$9!#(B
  138.     $B$=$7$F!"$3$N%(%s%H%j$OO"B3$7$?(B HTTP $B$N%X%C%@9T$G9=@.$5$l$^$9!#(B
  139.     $B0[$J$k(B variant $B$N$?$a$N%(%s%H%j$O6u9T$G6h@Z$i$l$F$$$^$9!#(B
  140.     $B%(%s%H%jCf$K6u9T$,J#?t$"$C$F$O$$$1$^$;$s!#(B
  141.     $B=,47E*$K$O!"%^%C%W%U%!%$%k$OA4BN$r7k9g$7$?$b$N$N%(%s%H%j$+$i;O$^$j$^$9(B
  142.     ($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
  143.     $B<!$KNc$r<($7$^$9!#$3$N%U%!%$%k$O%j%=!<%9(B <code>foo</code> 
  144.     $B$r5-=R$7$F$$$k$N$G!"(B<code>foo.var</code> $B$H$$$&L>A0$K$J$j$^$9!#(B</p>
  145.  
  146. <example>
  147.   URI: foo<br />
  148. <br />
  149.   URI: foo.en.html<br />
  150.   Content-type: text/html<br />
  151.   Content-language: en<br />
  152. <br />
  153.   URI: foo.fr.de.html<br />
  154.   Content-type: text/html;charset=iso-8859-2<br />
  155.   Content-language: fr, de<br />
  156. </example>
  157.     <p>$B$?$H$((B MultiViews $B$r;HMQ$9$k$h$&$K$J$C$F$$$?$H$7$F$b!"(B
  158.     $B%U%!%$%kL>$N3HD%;R$h$j%?%$%W%^%C%W$NJ}$,M%@h8"$r;}$D$H$$$&$3$H$K$b(B
  159.     $BCm0U$7$F$/$@$5$$!#(B
  160.     variant $B$NIJ<A$,0c$&$H$-$O!"$3$N2hA|$N$h$&$K(B (JPEG, GIF, ASCII
  161.     $B%"!<%H$,$"$j$^$9(B) $B%a%G%#%"%?%$%W$N(B "qs"
  162.     $B%Q%i%a!<%?$G;XDj$5$l$^$9!#(B</p>
  163.  
  164. <example>
  165.   URI: foo<br />
  166. <br />
  167.   URI: foo.jpeg<br />
  168.   Content-type: image/jpeg; qs=0.8<br />
  169. <br />
  170.   URI: foo.gif<br />
  171.   Content-type: image/gif; qs=0.5<br />
  172. <br />
  173.   URI: foo.txt<br />
  174.   Content-type: text/plain; qs=0.01<br />
  175. </example>
  176.  
  177.     <p>qs $BCM$NHO0O$O(B 0.000 $B$+$i(B 1.000 $B$G$9!#(Bqs $BCM$,(B
  178.     0.000 $B$N(B variant $B$O7h$7$F(B
  179.     $BA*Br$5$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B'qs' $BCM$N$J$$(B variant
  180.     $B$O(B qs $BCM(B 1.0 $B$r(B $BM?$($i$l$^$9!#(Bqs
  181.     $B%Q%i%a!<%?$O%/%i%$%"%s%H$NG=NO$K4X78L5$/!"B>$N(B variant $B$H(B
  182.     $BHf3S$7$?$H$-$N(B variant
  183.     $B$NAjBPE*$J!VIJ<A!W$r<($7$^$9!#(B
  184.     $BNc$($P!"<L??$rI=8=$7$h$&$H$7$F$$$k$H$-$O(B JPEG
  185.     $B%U%!%$%k$NJ}$,IaDL$O(B ASCII
  186.     $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$7$+$7!"%j%=!<%9$,85!9(B
  187.     ASCII $B%"!<%H$GI=8=$5$l$F$$$k$H$-$O!"(BASCII $B%U%!%$%k$N(B
  188.     $BJ}$,(B JPEG $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$3$N$h$&$K!"(Bqs
  189.     $B$O(B $BI=8=$5$l$k%j%=!<%9$N@-<A$K$h$C$F(B variant
  190.     $BKh$KFCM-$NCM$r<h$j$^$9!#(B</p>
  191.  
  192.     <p>$BG'<1$5$l$k%X%C%@$N0lMw$O(B
  193.     <a href="mod/mod_negotiation.html#typemaps">mod_negotiation</a>
  194.     $B%I%-%e%a%s%H$K$"$j$^$9!#(B</p>
  195. </section>
  196.  
  197. <section id="multiviews"><title>Multiviews</title>
  198.  
  199.     <p><code>MultiViews</code> $B$O%G%#%l%/%H%jKh$N%*%W%7%g%s$G!"(B
  200.     <code>httpd.conf</code>$B%U%!%$%k$N(B
  201.     <directive module="core" type="section">Directory</directive>, 
  202.     <directive module="core" type="section">Location</directive>, 
  203.     <directive module="core" type="section">Files</directive>
  204.     $B%;%/%7%g%sCf$d!"(B(<directive module="core">AllowOverride</directive>
  205.     $B$,E,@Z$JCM$K(B $B@_Dj$5$l$F$$$k$H(B) <code>.htaccess</code>
  206.     $B%U%!%$%k$G(B <directive module="core">Options</directive>
  207.     $B%G%#%l%/%F%#%V$K$h$C$F@_Dj$9$k$3$H$,$G$-$^$9!#(B
  208.     <code>Options All</code> $B$O(B
  209.     <code>MultiViews</code>
  210.     $B$r%;%C%H$7$J$$$3$H$KCm0U$7$F$/$@$5$$!#L@<(E*$K(B
  211.     $B$=$NL>A0$r=q$/I,MW$,$"$j$^$9!#(B</p>
  212.  
  213.     <p><code>MultiViews</code> $B$N8z2L$O0J2<$N$h$&$K$J$j$^$9(B:
  214.     $B%5!<%P$,(B <code>/some/dir/foo</code>
  215.     $B$X$N%j%/%(%9%H$r<u$1<h$j!"(B<code>/some/dir</code> $B$G(B
  216.     <code>MultiViews</code> $B$,M-8z$G$"$C$F!"(B
  217.     <code>/some/dir/foo</code> $B$,B8:_(B<em>$B$7$J$$(B</em>$B>l9g!"(B
  218.     $B%5!<%P$O%G%#%l%/%H%j$rFI$s$G(B <code>foo.*</code>
  219.     $B$K$"$F$O$^$kA4$F$N%U%!%$%k$rC5$7!"(B
  220.     $B;v<B>e$=$l$i$N%U%!%$%k$r%^%C%W$9$k%?%$%W%^%C%W$r:n$j$^$9!#(B
  221.     $B$=$N$H$-!"%a%G%#%"%?%$%W$H%3%s%F%s%H%(%s%3!<%G%#%s%0$O!"$=$N%U%!%$%kL>$r(B
  222.     $BD>@\;XDj$7$?$H$-$HF1$8$b$N$,3d$jEv$F$i$l$^$9!#(B
  223.     $B$=$l$+$i%/%i%$%"%s%H$NMW5a$K0lHV9g$&$b$N$rA*$S$^$9!#(B</p>
  224.  
  225.     <p>$B%5!<%P$,%G%#%l%/%H%j$N:w0z$r:n$m$&$H$7$F$$$k>l9g!"(B
  226.     <code>MultiViews</code>
  227.     $B$O(B <directive module="mod_dir">DirectoryIndex</directive>
  228.     $B%G%#%l%/%F%#%V$G;XDj$5$l$?%U%!%$%k$rC5$92aDx$K$b(B
  229.     $BE,MQ$5$l$^$9!#@_Dj%U%!%$%k$K(B</p>
  230. <example>DirectoryIndex index</example>
  231.     <p>$B$,=q$+$l$F$$$F!"(B<code>index.html</code> $B$H(B
  232.     <code>index.html3</code> $B$,(B
  233.     $BN>J}B8:_$7$F$$$k$H!"%5!<%P$O$=$NCf$+$i$I$A$i$+$rE,Ev$KA*$S$^$9!#(B
  234.     $B$b$7$=$NN>J}$,B8:_$;$:$K(B <code>index.cgi</code>
  235.     $B$,B8:_$7$F$$$k$H!"(B $B%5!<%P$O$=$l$r<B9T$7$^$9!#(B</p>
  236.  
  237.     <p>$B$b$7%G%#%l%/%H%j$rFI$s$G$$$k:]$K!"(B
  238.     $BJ8;z%;%C%H!"%3%s%F%s%H%?%$%W!"8@8l!"%(%s%3!<%G%#%s%0$r(B
  239.     $B;XDj$9$k$?$a$N(B <code>mod_mime</code> 
  240.     $B$GG'<1$G$-$k3HD%;R$r;}$?$J$$%U%!%$%k$,8+$D$+$k$H!"7k2L$O(B
  241.     <directive module="mod_mime">MultiViewsMatch</directive>
  242.     $B%G%#%l%/%F%#%V$N@_Dj$K0MB8$7$^$9!#$3$N%G%#%l%/%F%#%V$O(B
  243.     $B%O%s%I%i!"%U%#%k%?!"B>$N%U%!%$%k3HD%;R%?%$%W$N$I$l$,(B
  244.     MultiViews $B%M%4%7%(!<%7%g%s$G;HMQ$G$-$k$+$r7hDj$7$^$9!#(B</p>
  245. </section>
  246. </section>
  247.  
  248. <section id="methods"><title>$B%M%4%7%(!<%7%g%sJ}K!(B</title>
  249.  
  250.     <p>Apache $B$O%j%=!<%9$N(B variant $B$N0lMw$r!"%?%$%W%^%C%W%U%!%$%k$+(B
  251.     $B%G%#%l%/%H%jFb$N%U%!%$%kL>$+$i$+$G<hF@$7$?8e!"(B
  252.     $B!V:GE,$J!W(B variant $B$r7hDj$9$k$?$a$KFs$D$NJ}K!$N(B
  253.     $B$I$A$i$+$r5/F0$7$^$9!#(B
  254.     Apache $B$N%3%s%F%s%H%M%4%7%(!<%7%g%s$N5!G=$r;H$&$?$a$K!"(B
  255.     $B$I$N$h$&$K$7$F$3$ND4Dd$,9T$o$l$k$+>\:Y$rCN$kI,MW$O$"$j$^$;$s!#(B
  256.     $B$7$+$7$J$,$i!"$3$NJ8=q$N;D$j$G$O4X?4$N$"$k?M$N$?$a$K!"(B
  257.     $B;HMQ$5$l$F$$$kJ}K!$K$D$$$F@bL@$7$F$$$^$9!#(B</p>
  258.  
  259.     <p>$B%M%4%7%(!<%7%g%sJ}K!$OFs$D$"$j$^$9!#(B</p>
  260.  
  261.     <ol>
  262.       <li>$BDL>o$O(B <strong>Apache $B$N%"%k%4%j%:%`$rMQ$$$?(B Server
  263.       driven negotiation</strong> $B$,;HMQ$5$l$^$9!#(BApache
  264.       $B$N%"%k%4%j%:%`$O8e$K>\:Y$K@bL@$5$l$F$$$^$9!#(B
  265.       $B$3$N%"%k%4%j%:%`$,;HMQ$5$l$?>l9g!"(BApache
  266.       $B$O$h$jNI$$7k2L$K$J$k$h$&$K!"FCDj$N<!85$K$*$$$FIJ<A$NCM$r(B
  267.       $B!VJQ$($k!W$3$H$,$G$-$^$9!#(BApache
  268.       $B$,IJ<A$NCM$rJQ$($kJ}K!$O8e$G>\:Y$K@bL@$5$l$F$$$^$9!#(B</li>
  269.  
  270.       <li>RFC 2295
  271.       $B$GDj5A$5$l$F$$$k5!9=$rMQ$$$F%V%i%&%6$,FC$K;XDj$7$?>l9g!"(B
  272.       <strong>transparent content negotiation</strong>
  273.       $B$,;HMQ$5$l$^$9!#$3$N%M%4%7%(!<%7%g%sJ}K!$G$O!"!V:GE,$J!W(B
  274.       variant $B$N7hDj$r%V%i%&%6$,40A4$K@)8f$9$k$3$H$,$G$-$^$9!#(B
  275.       $B$G$9$+$i!"7k2L$O%V%i%&%6$,;HMQ$7$F$$$k%"%k%4%j%:%`$K0MB8$7$^$9!#(B
  276.       Transparent negotiation $B$N=hM}$N2aDx$G!"%V%i%&%6$O(B RFC 2296
  277.       $B$G(B $BDj5A$5$l$F$$$k(B 'remote variant selection algorithm'
  278.       $B$r<B9T$9$k$h$&$KMj$`$3$H$,$G$-$^$9!#(B</li>
  279.     </ol>
  280.  
  281. <section id="dimensions"><title>$B%M%4%7%(!<%7%g%s$N<!85(B</title>
  282.  
  283.     <table>
  284.       <columnspec><column width=".15"/><column width=".85"/></columnspec>
  285.       <tr valign="top">
  286.         <th>$B<!85(B</th>
  287.  
  288.         <th>$B@bL@(B</th>
  289.       </tr>
  290.  
  291.       <tr valign="top">
  292.         <td>$B%a%G%#%"%?%$%W(B</td>
  293.  
  294.         <td>$B%V%i%&%6$O(B <code>Accept</code>
  295.     $B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
  296.     $B%"%$%F%`$=$l$>$l$O!"4XO"$7$?IJ<A?tCM$r;}$D$3$H$,$G$-$^$9!#(B
  297.     variant $B$N@bL@$bIJ<A?tCM$r;}$D$3$H$,$G$-$^$9(B
  298.     ("qs" $B%Q%i%a!<%?$r$4Mw2<$5$$(B)$B!#(B</td>
  299.       </tr>
  300.  
  301.       <tr valign="top">
  302.         <td>$B8@8l(B</td>
  303.  
  304.     <td>$B%V%i%&%6$O(B <code>Accept-Language</code>
  305.     $B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
  306.     $BMWAG$=$l$>$l$KIJ<A?tCM$r;}$?$;$k$3$H$,$G$-$^$9!#(B
  307.     variants $B$O(B 0 $B$+(B 1 $B$D$+$=$l0J>e$N8@8l$H(B
  308.     $B4XO"$E$1$k$3$H$,$G$-$^$9!#(B</td>
  309.       </tr>
  310.  
  311.       <tr valign="top">
  312.         <td>$B%(%s%3!<%G%#%s%0(B</td>
  313.  
  314.     <td>$B%V%i%&%6$O(B <code>Accept-Encoding</code>
  315.     $B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
  316.     $BMWAG$=$l$>$l$KIJ<A?tCM$r;}$?$;$k$3$H$,$G$-$^$9!#(B</td>
  317.       </tr>
  318.  
  319.       <tr valign="top">
  320.         <td>$BJ8;z%;%C%H(B</td>
  321.  
  322.     <td>$B%V%i%&%6$O(B <code>Accept-Charset</code>
  323.     $B%X%C%@%U%#!<%k%I$GM%@h798~$r;XDj$7$^$9!#(B
  324.     $BMWAG$=$l$>$l$KIJ<A?tCM$r;}$?$;$k$3$H$,$G$-$^$9!#(B
  325.     variant $B$O%a%G%#%"%?%$%W$N%Q%i%a!<%?$H$7$FJ8;z%;%C%H$r(B
  326.     $B;XDj$9$k$3$H$b$G$-$^$9!#(B</td>
  327.       </tr>
  328.     </table>
  329. </section>
  330.  
  331. <section id="algorithm"><title>Apache $B%M%4%7%(!<%7%g%s%"%k%4%j%:%`(B</title>
  332.  
  333.     <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
  334.     Apache $B$O<!$N%"%k%4%j%:%`$r;H$&$3$H$,$G$-$^$9!#(B
  335.     $B$3$N%"%k%4%j%:%`$r@_Dj$K$h$jJQ99$9$k$3$H$O$G$-$^$;$s!#(B
  336.     $B<!$N$h$&$KF0:n$7$^$9(B:</p>
  337.  
  338.     <ol>
  339.       <li>$B$^$:$O$8$a$K!"%M%4%7%(!<%7%g%s$N<!85$=$l$>$l$K$D$$$FE,@Z$J(B
  340.       <em>Accept*</em> $B%X%C%@%U%#!<%k%I$rD4$Y!"(B
  341.       variant $B$=$l$>$l$KIJ<A$r3d$jEv$F$^$9!#(B
  342.       $B$b$7$"$k<!85$N(B <em>Accept*</em> $B%X%C%@$G$=$N(B variant
  343.       $B$,5vMF$G$-$J$$$3$H$,<($5$l$F$$$l$P!"$=$l$r:o=|$7$^$9!#(B
  344.       variant $B$,0l$D$b;D$C$F$$$J$1$l$P!"%9%F%C%W(B 4 $B$K9T$-$^$9!#(B</li>
  345.  
  346.       <li>
  347.     $B>C5nK!$G!V:GE,$J!W(B variant $B$rA*$S$^$9!#(B
  348.     $B<!$N%F%9%H$,=gHV$KE,MQ$5$l$^$9!#(B
  349.     $B%F%9%H$GA*Br$5$l$J$+$C$?(B variant $B$O:o=|$5$l$F$$$-$^$9!#(B
  350.     $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
  351.     $B%9%F%C%W(B 3 $B$K?J$_$^$9!#(B
  352.     $BJ#?t(B variant $B$,;D$C$F$$$l$P!"<!$N%F%9%H$K?J$_$^$9!#(B
  353.  
  354.         <ol>
  355.       <li>variant $B$N%a%G%#%"%?%$%W$NIJ<A?tCM$H(B <code>Accept</code>
  356.       $B%X%C%@$NIJ<A?tCM$H$N@Q$r7W;;$7$F!":G9bCM$N(B variant
  357.       $B$rA*$S$^$9!#(B</li>
  358.  
  359.       <li>$B8@8lIJ<A?tCM$,:G9b$N(B variant $B$rA*$S$^$9!#(B</li>
  360.  
  361.       <li>($B$b$7$"$l$P(B) <code>Accept-Language</code> $B%X%C%@$N8@8l=g$+!"(B
  362.       ($B$b$7$"$l$P(B)
  363.       <directive module="mod_negotiation">LanguagePriority</directive> 
  364.       $B%G%#%l%/%F%#%V$N8@8l=g$G:GE,$J8@8l$N(B variant $B$rA*$S$^$9!#(B</li>
  365.  
  366.       <li>$B:G9b!V%l%Y%k!W$N%a%G%#%"%Q%i%a!<%?(B
  367.       (text/html $B%a%G%#%"%?%$%W$N%P!<%8%g%s$rM?$($k$?$a$K;H$o$l$^$9(B)
  368.       $B$r;}$D(B variant $B$rA*$S$^$9!#(B</li>
  369.  
  370.       <li><code>Accept-Charset</code> $B%X%C%@9T$GM?$($i$l$F$$$k:G9b$NJ8;z%;%C%H(B
  371.       $B%a%G%#%"%Q%i%a!<%?$r;}$D(B variant $B$rA*$S$^$9!#(B
  372.       $BL@<(E*$K=|30$5$l$F$$$J$$8B$j!"(BISO-8859-1
  373.       $B$,5vMF$5$l$k$h$&$K$J$C$F$$$^$9!#(B
  374.       <code>text/*</code> $B%a%G%#%"%?%$%W$G$"$k$1$l$I$b(B
  375.       $BFCDj$NJ8;z%;%C%H$KL@<(E*$K4XO"$E$1$i$l$F$$$k$o$1$G$O$J$$(B
  376.       variant $B$O(B ISO-8859-1 $B$G$"$k$H2>Dj$5$l$^$9!#(B</li>
  377.  
  378.       <li>ISO-8859-1 <em>$B$G$O$J$$(B</em>$BJ8;z%;%C%H%a%G%#%"%Q%i%a!<%?$H(B
  379.       $B4XO"$E$1$i$l$F$$$k(B variant $B$rA*$S$^$9!#(B
  380.       $B$=$N$h$&$J(B variant $B$,$J$$>l9g$O!"Be$o$j$KA4$F$N(B
  381.       variant $B$rA*$S$^$9!#(B</li>
  382.  
  383.       <li>$B:GE,$J%(%s%3!<%G%#%s%0$N(B variant $B$rA*$S$^$9!#(B
  384.       $B$b$7(B user-agent $B$,5vMF$9$k%(%s%3!<%G%#%s%0$,$"$l$P!"(B
  385.       $B$=$N(B variant $B$N$_$rA*$S$^$9!#(B
  386.       $B$=$&$G$O$J$/!"$b$7%(%s%3!<%I$5$l$?$b$N$H$=$&$G$J$$(B
  387.       variant $B$,:.$6$C$FB8:_$7$F$$$?$i%(%s%3!<%I$5$l$F$$$J$$(B
  388.       variant $B$N$_$rA*$S$^$9!#(B
  389.       variant $B$,A4It%(%s%3!<%I$5$l$F$$$k$+(B
  390.       variant $B$,A4It%(%s%3!<%I$5$l$F$$$J$$$H$$$&>l9g$O!"(B
  391.       $BA4$F$N(B variant $B$rA*$S$^$9!#(B</li>
  392.  
  393.       <li>$BFbMF$N:G$bC;$$(B variant $B$rA*$S$^$9!#(B</li>
  394.  
  395.       <li>$B;D$C$F$$$k(B variant $B$N:G=i$N$b$N$rA*$S$^$9!#(B
  396.       $B%?%$%W%^%C%W%U%!%$%k$N:G=i$K%j%9%H$5$l$F$$$k$+!"(B
  397.       variant $B$,%G%#%l%/%H%j$+$i:G=i$KFI$_9~$^$l$k;~$K(B
  398.       ASCII$B=g$G%=!<%H$7$F%U%!%$%kL>$,@hF,$K$J$C$?$+!"$N$I$A$i$+$G$9!#(B</li>
  399.         </ol>
  400.       </li>
  401.  
  402.       <li>$B%"%k%4%j%:%`$r;H$C$F0l$D$N!V:GE,$J!W(Bvariant $B$rA*$S$^$7$?$N$G!"(B
  403.       $B$=$l$r1~Ez$H$7$FJV$7$^$9!#%M%4%7%(!<%7%g%s$N<!85$r;XDj$9$k$?$a$K(B
  404.       HTTP $B%l%9%]%s%9%X%C%@(B <code>Vary</code> $B$,@_Dj$5$l$^$9(B
  405.       ($B%j%=!<%9$N%-%c%C%7%e$r$9$k;~$K!"(B
  406.       $B%V%i%&%6$d%-%c%C%7%e$O$3$N>pJs$r;H$&$3$H$,$G$-$^$9(B)$B!#(B
  407.       $B0J>e$G=*$o$j!#(B</li>
  408.  
  409.       <li>$B$3$3$KMh$?$H$$$&$3$H$O!"(Bvariant $B$,0l$D$bA*Br$5$l$J$+$C$?(B
  410.       ($B%V%i%&%6$,5vMF$9$k$b$N$,$J$+$C$?$?$a(B) $B$H$$$&$3$H$G$9!#(B
  411.       406 $B%9%F!<%?%9(B ("No Acceptable representation" $B$r0UL#$9$k(B)
  412.       $B$,!"MxMQ2DG=$J(B variant $B$N%j%9%H$N$D$$$?(B HTML 
  413.       $B%I%-%e%a%s%H$H$H$b$KJV$5$l$^$9!#(B
  414.       $BAj0c$N<!85$r<($9(B HTTP <code>Vary</code> $B%X%C%@$b@_Dj$5$l$^$9!#(B</li>
  415.     </ol>
  416. </section>
  417. </section>
  418.  
  419. <section id="better"><title>$BIJ<A$NCM$rJQ$($k(B</title>
  420.  
  421.     <p>$B>e5-$N(B Apache $B%M%4%7%(!<%7%g%s%"%k%4%j%:%`$N873J$J2r<a$G(B
  422.     $BF@$i$l$k$G$"$m$&CM$+$i!"(BApache $B$OIJ<A?tCM$r;~!9JQ$($^$9!#(B
  423.     $B$3$l$O!"$3$N%"%k%4%j%:%`$G40A4$G$O$J$$!"$"$k$$$O@53N$G$J$$>pJs$rAw$k(B
  424.     $B%V%i%&%68~$1$K$h$j$h$$7k2L$rF@$k$?$a$K9T$o$l$^$9!#(B
  425.     $B$+$J$j%]%T%e%i!<$J%V%i%&%6$G!"$b$7$J$$$H4V0c$C$?(B variant
  426.     $B$rA*Br$9$k7k2L$K$J$C$F$7$^$&$h$&$J(B <code>Accept</code>
  427.     $B%X%C%@>pJs$rAw$k$b$N$b$"$j$^$9!#(B
  428.     $B%V%i%&%6$,40A4$G@5$7$$>pJs$rAw$C$F$$$l$P!"(B
  429.     $B$3$N?tCMJQ2=$OE,MQ$5$l$^$;$s!#(B</p>
  430.  
  431. <section id="wildcards"><title>$B%a%G%#%"%?%$%W$H%o%$%k%I%+!<%I(B</title>
  432.  
  433.     <p><code>Accept:</code> $B%j%/%(%9%H%X%C%@$O%a%G%#%"%?%$%W$NM%@h798~$r;XDj$7$^$9!#(B
  434.     $B$3$l$O$^$?!"(B"image/*" $B$d(B "*/*"
  435.     $B$H$$$C$?!V%o%$%k%I%+!<%I!W%a%G%#%"%?%$%W$r4^$`$3$H$,$G$-$^$9!#(B
  436.     $B$3$3$G(B * $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B
  437.     $B$G$9$+$i!"<!$N(B:</p>
  438.  
  439. <example>Accept: image/*, */*</example>
  440.  
  441.     <p>$B$r4^$`%j%/%(%9%H$O!"(B"image/" $B$G$O$8$^$k%?%$%WA4$F$,5vMF$G$-$k!"(B
  442.     $B$=$7$FB>$N$I$s$J%?%$%W$b5vMF$G$-$k(B
  443.     ($B$3$N>l9g$O$8$a$N(B "image/*" $B$O>iD9$K$J$j$^$9(B)
  444.     $B$3$H$r<($7$^$9!#(B
  445.     $B07$&$3$H$N$G$-$kL@<(E*$J%?%$%W$K2C$($F!"5!3#E*$K(B
  446.     $B%o%$%k%I%+!<%I$rAw$k%V%i%&%6$b$"$j$^$9!#Nc$($P(B:</p>
  447.  
  448. <example>
  449.   Accept: text/html, text/plain, image/gif, image/jpeg, */*
  450. </example>
  451.     <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
  452.     $B0[$J$kI=8=$,MxMQ2DG=$G$"$l$P$=$l$G$bNI$$!"$H$$$&$3$H$G$9!#(B
  453.     $B$7$+$7$J$,$i!">e$N4pK\E*$J%"%k%4%j%:%`$G$O!"(B
  454.     */* $B%o%$%k%I%+!<%I$OB>$NA4$F$N%?%$%W$HA4$/F1Ey$J$N$GM%@h$5$l$^$;$s!#(B
  455.     $B%V%i%&%6$O(B */* $B$K$b$C$HDc$$IJ<A(B ($BM%@h(B) 
  456.     $BCM$rIU$1$F%j%/%(%9%H$rAw$k$Y$-$J$N$G$9!#Nc$($P(B:</p>
  457. <example>
  458.   Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
  459. </example>
  460.     <p>$BL@<(E*$J%?%$%W$K$OIJ<A?tCM$,IU$1$i$l$F$$$^$;$s$N$G!"(B
  461.     $B%G%U%)%k%H$N(B 1.0 ($B:G9bCM(B) $B$NM%@h$K$J$j$^$9!#(B
  462.     $B%o%$%k%I%+!<%I(B */* $B$ODc$$M%@hEY(B 0.01 $B$rM?$($i$l$F$$$k$N$G!"(B
  463.     $BL@<(E*$K%j%9%H$5$l$F$$$k%?%$%W$K9gCW$9$k(B variant $B$,$J$$>l9g$K$N$_!"(B
  464.     $BB>$N%?%$%W$,JV$5$l$^$9!#(B</p>
  465.  
  466.     <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
  467.     $BK>$_$N5sF0$r$9$k$?$a$K!"(B
  468.     Apache $B$O(B "*/*" $B$,$"$l$P(B 0.01 $B$N(B q $BCM$r@_Dj$7$^$9!#(B
  469.     $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
  470.     ($B$G$9$+$i$3$l$i$O(B "*/*" $B$N%^%C%A$h$j$bM%@h$5$l$^$9(B)$B!#(B
  471.     $B$b$7(B <code>Accept:</code> $B%X%C%@Cf$N%a%G%#%"%?%$%W$N$I$l$+$,(B q
  472.     $BCM$r4^$s$G$$$l$P!"$3$l$i$NFC<l$JCM$OE,1~(B<em>$B$5$l$:(B</em>$B!"(B
  473.     $B@5$7$$>pJs$rAw$k%V%i%&%6$+$i$N%j%/%(%9%H$O4|BTDL$j$K(B
  474.     $BF0:n$9$k$h$&$K$J$j$^$9!#(B</p>
  475. </section>
  476.  
  477. <section id="exceptions"><title>$B8@8l%M%4%7%(!<%7%g%s$NNc30=hM}(B</title>
  478.  
  479.     <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
  480.     $B8+$D$1$k$N$K<:GT$7$?;~$K!"M%2m$K%U%)!<%k%P%C%/$G$-$k$h$&$J(B
  481.     $B%M%4%7%(!<%7%g%s%"%k%4%j%:%`$,4v$D$+DI2C$5$l$^$7$?!#(B</p>
  482.  
  483.     <p>$B%5!<%P$N%Z!<%8$r%/%i%$%"%s%H$,%j%/%(%9%H$7$?$1$l$I$b!"(B
  484.     $B%V%i%&%6$NAw$C$F$-$?(B <code>Accept-Language</code> $B$K9gCW$9$k%Z!<%8$,0l$D$b(B
  485.     $B8+$D$+$i$J$+$C$?>l9g$K!"%5!<%P$O(B "No Acceptable Variant"
  486.     $B$+(B "Multiple Choices" $B%l%9%]%s%9$r%/%i%$%"%s%H$KJV$7$^$9!#(B
  487.     $B$3$l$i$N%(%i!<%a%C%;!<%8$rJV$5$J$$$h$&$K!"(B
  488.     $B$3$N$h$&$J>l9g$K$O(B Apache $B$,(B <code>Accept-Language</code> $B$rL5;k$7$F!"(B
  489.     $B%/%i%$%"%s%H$N%j%/%(%9%H$KL@<(E*$K$O9gCW$7$J$$%I%-%e%a%s%H$r(B
  490.     $BDs6!$9$k$h$&$K@_Dj$G$-$^$9!#(B
  491.     <directive module="mod_negotiation">ForceLanguagePriority</directive>
  492.     $B%G%#%l%/%F%#%V$O!"$3$l$i$N%(%i!<$N0l$D$+N>J}$r%*!<%P!<%i%$%I$9$k$?$a$K(B
  493.     $B;HMQ$G$-$F!"(B
  494.     <directive module="mod_negotiation">LanguagePriority</directive>
  495.     $B%G%#%l%/%F%#%V$NFbMF$r;H$C$F%5!<%P$NH=CG$rBe9T$9$k$h$&$K$G$-$^$9!#(B</p>
  496.  
  497.     <p>$B%5!<%P$OB>$KE,9g$9$k$b$N$,8+$D$+$i$J$1$l$P!"(B
  498.     $B8@8l%5%V%;%C%H$GE,9g$9$k$b$N$r;n$=$&$H$b$7$^$9!#(B
  499.     $BNc$($P%/%i%$%"%s%H$,1Q9q1Q8l$G$"$k(B <code>en-GB</code> $B8@8l$G(B
  500.     $B%I%-%e%a%s%H$r%j%/%(%9%H$7$?>l9g!"%5!<%P$O(B HTTP/1.1
  501.     $B5,3J$G$O!"C1$K(B <code>en</code> $B$H%^!<%/$5$l$F$$$k%I%-%e%a%s%H$r(B
  502.     $B%^%C%A$9$k$b$N$H$9$k$3$H$ODL>o$O5v$5$l$F$$$^$;$s!#(B
  503.     ($B1Q9q1Q8l$OM}2r$G$-$k$1$I0lHLE*$J1Q8l$OM}2r$G$-$J$$$H$$$&FI$_<j$O(B
  504.     $B9M$($i$l$J$$$N$G!"(BAccept-Language $B%X%C%@$G(B <code>en-GB</code> 
  505.     $B$r4^$s$G(B <code>en</code> $B$r4^$^$J$$$N$O$[$\3N<B$K@_Dj$N4V0c$$$G$"$k!"(B
  506.     $B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  507.     $B$G$9$,IT9,$J$3$H$K!"B?$/$N%/%i%$%"%s%H$G$O%G%U%)%k%H$G(B
  508.     $B$3$N$h$&$J@_Dj$K$J$C$F$$$^$9!#(B)
  509.     $B$7$+$7$J$,$i!"B>$N8@8l$K$O%^%C%A$;$:!"(B"No Acceptable Variants"
  510.     $B%(%i!<$rJV$7$?$j!"(B
  511.     <directive module="mod_negotiation">LanguagePriority</directive>
  512.     $B$K%U%)!<%k%P%C%/$7$h$&$H$7$F$$$k$H$-$O!"(B
  513.     $B%5%V%;%C%H;XDj$rL5;k$7$F!"(B<code>en-GB</code> $B$r(B <code>en</code>
  514.     $B$K%^%C%A$7$^$9!#(B
  515.     Apache $B$O%/%i%$%"%s%H$N5vMF8@8l%j%9%H$K0EL[$K(B
  516.     $BHs>o$KDc$$IJ<ACM$N?F8@8l$r2C$($k$3$H$K$J$j$^$9!#(B
  517.     $B$7$+$7!"%/%i%$%"%s%H$,(B "en-GB; q=0.9, fr; q=0.8" $B$H%j%/%(%9%H$7$F!"(B
  518.     $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
  519.     "fr" $B%I%-%e%a%s%H$,JV$5$l$k$3$H$KCm0U$7$F$/$@$5$$!#(B
  520.     $B$3$N$h$&$J=hM}$O!"(BHTTP 1.1 $B5,3J$H$N@09g@-$r0];}$7$F!"(B
  521.     $BE,@Z$K@_Dj$5$l$?%/%i%$%"%s%H$H$b$-$A$s$HF0:n$9$k$?$a$K(B
  522.     $BI,MW$G$9!#(B</p>
  523.  
  524.     <p>$B$h$j9bEY$J%F%/%K%C%/(B (Cookie $B$dFC<l$J(B URL $B%Q%9Ey(B)
  525.     $B$K$*$$$F$b%f!<%6$N8@8lA*Br$r%5%]!<%H$9$k$?$a!"(B
  526.     Apache 2.0.47 $B$+$i$O!"(B<module>mod_negotiation</module>
  527.     $B$,(B<a href="env.html">$B4D6-JQ?t(B</a> <code>prefer-language</code>
  528.     $B$rG'<1$9$k$h$&$K$J$j$^$7$?!#(B
  529.     $B$3$NJQ?t$,B8:_$7$F!"E,@Z$J8@8l%?%0$,BeF~$5$l$F$$$k$N$G$"$l$P!"(B
  530.     <module>mod_negotiation</module> $B$O9gCW$9$k(B variant
  531.     $B$rA*Br$7$h$&$H$7$^$9!#9gCW$9$k$b$N$,L5$1$l$P!"(B
  532.     $BDL>o$N%M%4%7%(!<%7%g%s<j=g$,E,MQ$5$l$^$9!#(B</p>
  533.  
  534.     <example><title>Example</title>
  535.       SetEnvIf Cookie "language=en" prefer-language=en<br />
  536.       SetEnvIf Cookie "language=fr" prefer-language=fr
  537.     </example>
  538. </section>
  539. </section>
  540.  
  541. <section id="extensions"><title>Transparent Content Negotiation
  542. $B$N3HD%(B</title> 
  543.  
  544. <p>Apache $B$O(B transparent content negotiation $B%W%m%H%3%k(B
  545. (RFC 2295) $B$r<!$N$h$&$K3HD%$7$F$$$^$9!#(B
  546. $BFCDj$N%3%s%F%s%H%(%s%3!<%G%#%s%0$N$_$,MxMQ2DG=$G$"$k(B variant 
  547. $B$K0u$rIU$1$k$?$a$K!"?7$?$K(B <code>{encoding ..}</code> 
  548. $BMWAG$r(B variant $B%j%9%HCf$K;H$C$F$$$^$9!#(B
  549. $B%j%9%HCf$N%(%s%3!<%I$5$l$?(B variant $B$rG'<1$7!"(B
  550. <code>Accept-Encoding</code> $B%j%/%(%9%H%X%C%@$K=>$C$F5vMF$5$l$k(B
  551. $B%(%s%3!<%I$r$b$C$?(B variant $B$O!"$I$l$G$b8uJd(B variant
  552. $B$H$7$F;HMQ$9$k$h$&$K!"(B
  553. RVSA/1.0 $B%"%k%4%j%:%`(B (RFC 2296) $B$N<BAu$,3HD%$5$l$^$7$?!#(B
  554. RVSA/1.0 $B$N<BAu$G$O!":GE,$J(B variant $B$,8+$D$+$k$^$G!"(B
  555. $B7W;;$7$?IJ<A?tCM$O>.?tE@0J2<(B 5 $B7e$^$G4]$a$^$;$s!#(B</p>
  556. </section>
  557.  
  558. <section id="naming"><title>$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@(B</title>
  559.  
  560.     <p>$B8@8l%M%4%7%(!<%7%g%s$r;H$C$F$$$k>l9g$O!"(B
  561.     $B%U%!%$%k$,0l$D0J>e$N3HD%;R$r;}$F$F!"(B
  562.     $B3HD%;R$N=gHV$ODL>o$O9MN8$5$l$J$$(B
  563.     ($B>\:Y$O(B <a href="mod/mod_mime.html#multipleext">mod_mime</a> 
  564.     $B$r;2>H(B) $B$N$G!"(B
  565.     $B4v$D$+$N0[$J$kL>A0$NJQ49$rA*$Y$k$3$H$K$J$j$^$9!#(B</p>
  566.  
  567.     <p>$BE57?E*$J%U%!%$%k$G$O!"(BMIME $B%?%$%W3HD%;R(B (<em>$BNc$($P(B</em>
  568.     <code>html</code>) $B$r;}$C$F$$$F!"%(%s%3!<%G%#%s%03HD%;R(B
  569.     (<em>$BNc$($P(B</em> <code>gz</code>) $B$r;}$C$F$$$k$+$b$7$l$J$/$F!"(B
  570.     $B$3$N%U%!%$%k$K0[$J$k8@8l(B variant $B$rMQ0U$7$F$$$l$P!"(B
  571.     $B$b$A$m$s8@8l3HD%;R(B (<em>$BNc$($P(B</em> <code>en</code>)
  572.     $B$r;}$C$F$$$k$G$7$g$&!#(B</p>
  573.  
  574.     <p>$BNc(B:</p>
  575.  
  576.     <ul>
  577.       <li>foo.en.html</li>
  578.  
  579.       <li>foo.html.en</li>
  580.  
  581.       <li>foo.en.html.gz</li>
  582.     </ul>
  583.  
  584.     <p>$B%U%!%$%kL>$H!"$=$l$KBP$7$F;H$($k%j%s%/$H;H$($J$$%j%s%/$NNc$G$9(B:</p>
  585.  
  586.     <table border="1" cellpadding="8" cellspacing="0">
  587.       <columnspec><column width=".2"/><column width=".2"/>
  588.         <column width=".2"/></columnspec>
  589.       <tr>
  590.         <th>$B%U%!%$%kL>(B</th>
  591.  
  592.         <th>$B;H$($k%j%s%/(B</th>
  593.  
  594.         <th>$B;H$($J$$%j%s%/(B</th>
  595.       </tr>
  596.  
  597.       <tr>
  598.         <td><em>foo.html.en</em></td>
  599.  
  600.         <td>foo<br />
  601.          foo.html</td>
  602.  
  603.         <td>-</td>
  604.       </tr>
  605.  
  606.       <tr>
  607.         <td><em>foo.en.html</em></td>
  608.  
  609.         <td>foo</td>
  610.  
  611.         <td>foo.html</td>
  612.       </tr>
  613.  
  614.       <tr>
  615.         <td><em>foo.html.en.gz</em></td>
  616.  
  617.         <td>foo<br />
  618.          foo.html</td>
  619.  
  620.         <td>foo.gz<br />
  621.          foo.html.gz</td>
  622.       </tr>
  623.  
  624.       <tr>
  625.         <td><em>foo.en.html.gz</em></td>
  626.  
  627.         <td>foo</td>
  628.  
  629.         <td>foo.html<br />
  630.          foo.html.gz<br />
  631.          foo.gz</td>
  632.       </tr>
  633.  
  634.       <tr>
  635.         <td><em>foo.gz.html.en</em></td>
  636.  
  637.         <td>foo<br />
  638.          foo.gz<br />
  639.          foo.gz.html</td>
  640.  
  641.         <td>foo.html</td>
  642.       </tr>
  643.  
  644.       <tr>
  645.         <td><em>foo.html.gz.en</em></td>
  646.  
  647.         <td>foo<br />
  648.          foo.html<br />
  649.          foo.html.gz</td>
  650.  
  651.         <td>foo.gz</td>
  652.       </tr>
  653.     </table>
  654.  
  655.     <p>$B>e$NI=$r8+$F!"3HD%;R$J$7$N%j%s%/(B (<em>$BNc$($P(B</em> <code>foo</code>) 
  656.     $B$,$$$D$G$b;H$($k$3$H$K5$$,IU$/$G$7$g$&!#(B
  657.     $B$3$NMxE@$O!"%I%-%e%a%s%H$H$7$F1~Ez$9$k%U%!%$%k$N(B
  658.     $B<B:]$N%U%!%$%k%?%$%W$r1#JC$7$F!"%j%s%/$N;2>H$rJQ99$9$k$3$H$J$/(B
  659.     $B8e$+$i%U%!%$%k$rJQ99$G$-$k!"(B
  660.     <em>$BNc$($P(B</em> <code>html</code> $B$+$i(B <code>shtml</code>
  661.     $B$K!"$"$k$$$O(B <code>cgi</code> $B$KJQ99$G$-$kE@$G$9!#(B</p>
  662.  
  663.     <p>$B%j%s%/$K(B MIME $B%?%$%W$r;H$$B3$1$?$$(B (<em>$BNc$($P(B</em>
  664.     <code>foo.html</code>)$B;~$O!"8@8l3HD%;R$O(B
  665.     ($B%(%s%3!<%G%#%s%03HD%;R$b$"$l$P$=$l$b4^$a$F(B)
  666.     MIME $B%?%$%W3HD%;R$N1&B&$K$J$1$l$P$J$j$^$;$s(B
  667.     (<em>$BNc$($P(B</em> <code>foo.html.en</code>)$B!#(B</p>
  668. </section>
  669.  
  670. <section id="caching"><title>$B%-%c%C%7%e$K4X$9$kCm0U;v9`(B</title>
  671.  
  672.     <p>$B%-%c%C%7%e$,0l$D$NI=8=$rJ]B8$7$F$$$k$H$-$O!"(B
  673.     $B%j%/%(%9%H(B URL $B$H4XO"$E$1$i$l$F$$$^$9!#(B
  674.     $B<!$K$=$N(B URL $B$,%j%/%(%9%H$5$l$?;~$K!"%-%c%C%7%e$O(B
  675.     $BJ]B8$5$l$F$$$kI=8=$r;HMQ$G$-$^$9!#$7$+$7!"(B
  676.     $B%j%=!<%9$,%5!<%P$G%M%4%7%(!<%7%g%s2DG=$G$"$l$P!"(B
  677.     $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
  678.     $B4V0c$C$?1~Ez$rJV$7$F$7$^$&$H$$$&$3$H$K$J$j$+$M$^$;$s!#(B
  679.     $B$3$l$rKI$0$?$a$K!"(BApache $B$O%3%s%F%s%H%M%4%7%(!<%7%g%s$N(B
  680.     $B8e$KJV$5$l$?1~EzA4$F$K!"(BHTTP/1.0 $B%/%i%$%"%s%H$G$O(B
  681.     $B%-%c%C%7%eIT2DG=$N0u$r$D$1$^$9!#(B
  682.     $B$^$?!"%M%4%7%(!<%7%g%s$5$l$?1~Ez$N%-%c%C%7%e$r2DG=$K$9$k(B
  683.     HTTP/1.1 $B%W%m%H%3%k$N5!G=$b(B Apache $B$O%5%]!<%H$7$^$9!#(B</p>
  684.  
  685.     <p>HTTP/1.0 $B=`5r$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$KBP$7$F$O!"(B
  686.     ($B%V%i%&%6$G$"$m$&$H%-%c%C%7%e$G$"$m$&$H(B)
  687.     $B%M%4%7%(!<%7%g%s$r<u$1$?1~Ez$N%-%c%C%7%e$r5v$9$?$a$K!"(B
  688.     <directive module="mod_negotiation">CacheNegotiatedDocs</directive>
  689.     $B%G%#%l%/%F%#%V$r;HMQ$G$-$^$9!#(B
  690.     $B$3$N%G%#%l%/%F%#%V$O!"%5!<%P@_Dj%U%!%$%k$d%P!<%A%c%k%[%9%H$K=q$/$3$H$,$G$-!"(B
  691.     $B0z?t$r$H$j$^$;$s!#(B
  692.     HTTP/1.1 $B%/%i%$%"%s%H$+$i$N%j%/%(%9%H$K$O8zNO$r;}$A$^$;$s!#(B</p>
  693. </section>
  694.  
  695. <section id="more"><title>$BDI2C>pJs(B</title>
  696.  
  697.     <p>$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K4X$9$kDI2C>pJs$O!"(B
  698.     Alan J. Flavell $B$5$s$N(B<a
  699.     href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
  700.     Negotiation Notes</a> $B$r$4Mw2<$5$$!#$G$9$,!"(B
  701.     Apache 2.0 $B$G$NJQ99E@$r4^$`$?$a$K$O99?7$5$l$F$$$J$$$+$b$7$l$J$$(B
  702.     $B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B</p>
  703. </section>
  704.  
  705. </manualpage>
  706.