home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 November / PCWorld_2003-11_cd.bin / Komunik / apache / apache_2.0.47-win32-x86-no_ssl.msi / Data.Cab / F250619_dnscaveats.xml.ja < prev    next >
Extensible Markup Language  |  2003-05-20  |  10KB  |  215 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.2.2.2 -->
  5.  
  6. <manualpage metafile="dns-caveats.xml.meta">
  7.   
  8.   <title>DNS $B$H(B Apache $B$K$^$D$o$kCm0U;v9`(B</title>
  9.   
  10.   <summary>
  11.     <p>$BK\J8=q$NFbMF$O<!$N0l8@$K?T$-$^$9!#!V(BApache $B$,@_Dj%U%!%$%k$rFI$_9~$`$H$-$K(B
  12.     DNS $B$r;HMQ$9$kI,MW$,$J$$$h$&$K$7$F2<$5$$!W!#(BApache $B$,@_Dj%U%!%$%k$r(B
  13.     $BFI$_9~$`$H$-$K(B DNS $B$r;HMQ$9$kI,MW$,$"$k>l9g!"?.Mj@-$NLdBj(B
  14.     ($B5/F0$7$J$$$+$b$7$l$^$;$s(B) $B$d%5!<%S%95qH]$dEpMQ%"%?%C%/(B
  15.     ($BB>$N%f!<%6$+$i%R%C%H$rEp$`$3$H$r4^$_$^$9(B)
  16.     $B$NLdBj$KD>LL$9$k$+$b$7$l$^$;$s!#(B</p>
  17.   </summary>
  18.   
  19.   <section id="example">
  20.     <title>$B4JC1$JNc(B</title>
  21.     
  22.     <example>
  23.       <VirtualHost www.abc.dom> <br />
  24.       ServerAdmin webgirl@abc.dom <br />
  25.       DocumentRoot /www/abc <br />
  26.       </VirtualHost>
  27.     </example>
  28.     
  29.     <p>Apache $B$,@5>o$K5!G=$9$k$K$O!"%P!<%A%c%k%[%9%HKh$KI,$:Fs$D$N(B
  30.     $B>pJs$,I,MW$K$J$j$^$9!#$=$l$O!"(B
  31.     <directive module="core">ServerName</directive>
  32.     $B$H!"$=$N%5!<%P$,1~Ez$9$k$?$a$N(B IP ($B:GDc0l$D(B) $B$G$9!#(B
  33.     $B$3$NNc$G$O(B IP $B%"%I%l%9$r4^$s$G$$$^$;$s$N$G!"(BApache $B$O(B DNS
  34.     $B$r;HMQ$7$F(B <code>www.abc.dom</code> $B$r8+$D$1$J$1$l$P$J$j$^$;$s!#(B
  35.     $B2?$i$+$NM}M3$G@_Dj%U%!%$%k$rFI$_9~$s$G$$$k$H$-$K(B DNS 
  36.     $B$,MxMQ$G$-$J$+$C$?>l9g!"(B
  37.     $B%P!<%A%c%k%[%9%H$O(B<strong>$B@_Dj$5$l$^$;$s(B</strong>$B!#(B
  38.     $B$=$7$F!"$=$N%P!<%A%c%k%[%9%H$KBP$9$k%R%C%H$K$O1~Ez$,$J$5$l$^$;$s(B
  39.     (Apache 1.2 $B0JA0$G$O5/F0$9$i$7$^$;$s(B)$B!#(B</p>
  40.     
  41.     <p><code>www.abc.dom</code> $B$N%"%I%l%9$,(B 10.0.0.1
  42.     $B$@$H$7$^$9!#$G$O!"<!$N@_Dj$K$D$$$F9M$($F$_$^$7$g$&!#(B</p>
  43.     
  44.     <example>
  45.       <VirtualHost 10.0.0.1> <br />
  46.       ServerAdmin webgirl@abc.dom <br />
  47.       DocumentRoot /www/abc <br />
  48.       </VirtualHost>
  49.     </example>
  50.     
  51.     <p>$B8=:_$N%j%j!<%9$G$O(B Apache $B$O(B DNS $B5U0z$-$r;HMQ$7$F(B
  52.     $B$3$N%P!<%A%c%k%[%9%H$N(B <directive module="core">ServerName</directive>
  53.     $B$r8+$D$1$^$9!#(B
  54.     $B$=$N5U0z$-$,<:GT$7$?>l9g$OItJ,E*$K%P!<%A%c%k%[%9%H$rL58z$K$7$^$9(B
  55.     (Apache 1.2 $B$h$jA0$G$O5/F0$9$i$7$^$;$s(B)$B!#(B
  56.     $B%P!<%A%c%k%[%9%H$,L>A0%Y!<%9$G$"$l$P40A4$KL58z$K$J$j$^$9$,!"(B
  57.     IP $B%Y!<%9$G$"$l$P35$MF0:n$7$^$9!#$7$+$7$J$,$i!"%5!<%PL>$r(B
  58.     $B4^$`40A4$J(B URL $B$r@8@.$7$J$1$l$P$J$i$J$$>l9g$O!"@5$7$$(B URL
  59.     $B$N@8@.$,$G$-$^$;$s!#(B</p>
  60.     
  61.     <p>$B<!$NNc$O>e5-$NLdBj$r2r7h$7$F$$$^$9!#(B</p>
  62.     
  63.     <example>
  64.       <VirtualHost 10.0.0.1> <br />
  65.       ServerName www.abc.dom <br />
  66.       ServerAdmin webgirl@abc.dom <br />
  67.       DocumentRoot /www/abc <br />
  68.       </VirtualHost>
  69.     </example>
  70.   </section>
  71.   
  72.   <section id="denial">
  73.     <title>$B%5!<%S%95qH](B</title>
  74.     
  75.     <p>$B%5!<%S%95qH]$,5/$3$k>l9g!"(B($B>/$J$/$H$b(B) $BFs$D$N%1!<%9$,$"$j$^$9!#(B
  76.     Apache 1.2 $B$h$jA0$r<B9T$7$F$$$k>l9g!"%P!<%A%c%k%[%9%H$N$?$a$N(B
  77.     $B>e5-$NFs$D$N(B DNS $B8!:w$N$&$A0l$D<:GT$9$l$P5/F0$9$i$7$^$;$s!#(B
  78.     $B$=$7$F$3$N(B DNS $B8!:w$,<+J,$N@)8f2<$K$9$i$J$$>l9g$b$"$j$($^$9!#(B
  79.     $BNc$($P!"(B<code>abc.dom</code> $B$,8\5R$N%5!<%P$N0l$D$G!"(B
  80.     DNS $B$O8\5R<+?H$G4IM}$7$F$$$k>l9g!"C1$K(B
  81.     <code>www.abc.dom</code> $B%l%3!<%I$r:o=|$9$k$@$1$G!"(B
  82.     (1.2 $B$h$jA0$N(B) $B%5!<%P$r5/F0ITG=$K$9$k$3$H$,$G$-$^$9!#(B</p>
  83.     
  84.     <p>$B$b$&0l$D$N%1!<%9$O!"$h$j5$IU$-$K$/$$$b$N$G$9!#(B
  85.     $B<!$N@_Dj$K$D$$$F9M$($F$_$^$7$g$&!#(B</p>
  86.     
  87.     <example>
  88.       <VirtualHost www.abc.dom> <br />
  89.         ServerAdmin webgirl@abc.dom <br />
  90.         DocumentRoot /www/abc <br />
  91.       </VirtualHost> <br />
  92.       <br />
  93.       <VirtualHost www.def.dom> <br />
  94.         ServerAdmin webguy@def.dom <br />
  95.         DocumentRoot /www/def <br />
  96.       </VirtualHost>
  97.     </example>
  98.     
  99.     <p>10.0.0.1 $B$r(B <code>www.abc.dom</code> $B$K!"(B
  100.     10.0.0.2 $B$r(B <code>www.def.dom</code> $B$K3d$jEv$F$F$$$k$H$7$^$9!#(B
  101.     $B$^$?!"(B<code>def.dom</code> $B$O8\5R<+?H$N(B DNS
  102.     $B$N@)8f2<$K$"$k$H$7$^$9!#$3$N@_Dj$G!"(B<code>abc.dom</code>
  103.     $B$K8~$1$i$l$?%H%i%U%#%C%/A4$F$rC%$&$3$H$,$G$-$k0LCV$K(B
  104.     <code>def.dom</code> $B$r@_CV$G$-$F$$$^$9!#8e$OC1$K(B 
  105.     <code>www.def.dom</code> $B$,(B 10.0.0.1 $B$r;2>H$9$k$h$&$K(B
  106.     $B@_Dj$9$k$@$1$G$9!#(BDNS $B$O8\5RB&$N(B DNS $B$G%3%s%H%m!<%k$5$l$F$$$k$N$G!"(B
  107.     <code>www.def.dom</code> $B%l%3!<%I$,9%$-$J>l=j$r;X$9$h$&$K(B
  108.     $B@_Dj$G$-$F$7$^$&$N$r;_$a$5$;$k$3$H$,$G$-$^$;$s!#(B</p>
  109.     
  110.     <p>10.0.0.1 $B$KBP$9$k%j%/%(%9%H(B
  111.     (<code>http://www.abc.dom/whatever</code> $B7A<0$N(B URL 
  112.     $B$rF~NO$7$?%f!<%6$+$i$N$b$NA4$F$r4^$_$^$9(B) 
  113.     $B$O!"(B<code>def.dom</code> $B%P!<%A%c%k%[%9%H$G1~Ez$5$l$^$9!#(B
  114.     $B$3$N$h$&$J$3$H$,2?8N5/$3$k$+$b$C$HNI$/CN$k$?$a$K$O!"(B
  115.     $B1~Ez$NI,MW$J%P!<%A%c%k%[%9%H$X$N%j%/%(%9%H$KBP$7$F!"(B
  116.     Apache $B$,$I$N$h$&$K@09g@-$r3NJ]$9$k$+$K$D$$$F!"(B
  117.     $B?<$$5DO@$,I,MW$K$J$j$^$9!#$*$*$6$C$Q$J@bL@$O(B<a
  118.     href="vhosts/details.html">$B$3$A$i(B</a>$B$K5-=R$5$l$F$$$^$9!#(B</p>
  119.   </section>
  120.   
  121.   <section id="main">
  122.     <title>$B!V<g%5!<%P!W%"%I%l%9(B</title>
  123.     
  124.     <p>Apache 1.1 $B$G$N(B <a href="vhost/name-based.html"
  125.     >$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$N%5%]!<%H(B</a> $BDI2C$N:]$K!"(B
  126.     Apache $B$O(B httpd $B$N<B9T$5$l$F$$$k%[%9%H$N(B IP
  127.     $B%"%I%l%9$rCN$kI,MW$,=P$F$-$^$7$?!#$3$N%"%I%l%9$rF@$k$?$a$K!"(B
  128.     ($B$b$7$"$l$P(B) $B%0%m!<%P%k$J(B
  129.     <directive module="core">ServerName</directive> $B$r;HMQ$9$k$+!"(B
  130.     C $B8@8l$N4X?t(B <code>gethostname</code> ($B%3%^%s%I%W%m%s%W%H$G(B
  131.     <code>hostname</code> $B$H%?%$%W$7$?$H$-$HF1$8$b$N$rJV$7$^$9(B)
  132.     $B$r8F$S=P$9$+$r$7$^$9!#(B
  133.     $B$=$N8e!"F@$i$l$?%"%I%l%9$G(B DNS $B8!:w$r9T$J$$$^$9!#(B
  134.     $B8=:_$N$H$3$m!"$3$N(B DNS $B8!:w$r2sHr$9$kJ}K!$O$"$j$^$;$s!#(B</p>
  135.     
  136.     <p>DNS $B%5!<%P$,%@%&%s$7$F!"$3$N8!:w$,$G$-$J$$;vBV$,5/$3$k$3$H$r(B
  137.     $B62$l$F$$$k$N$G$"$l$P!"(B<code>/etc/hosts</code>
  138.     $B$K%[%9%HL>$r5-=R$7$F$*$/$3$H$,$G$-$^$9(B
  139.     ($B%^%7%s$,@5>o$K5/F0$9$k$h$&$K4{$K@_Dj$5$l$F$$$k$+$b$7$l$^$;$s(B)$B!#(B
  140.     $B$=$N>l9g!"(BDNS $B;2>H$,<:GT$7$?>l9g$K%^%7%s$,(B <code>/etc/hosts</code>
  141.     $B$r;HMQ$9$k$h$&$K@_Dj$7$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B
  142.     $B$=$NJ}K!$O!"$I$N(B OS $B$r;HMQ$7$F$$$k$+$K0MB8$7$^$9$,!"(B
  143.     <code>/etc/resolv.conf</code> $B$+(B <code>/etc/nsswitch.conf</code>
  144.     $B$rJT=8$9$k$3$H$G@_Dj$G$-$^$9!#(B</p>
  145.     
  146.     <p>$B$b$7B>$NM}M3$G(B DNS $B$rMxMQ$9$kI,MW$,$J$$>l9g$O!"(B
  147.     <code>HOSTRESORDER</code> $B4D6-JQ?t$r!V(B <code>local</code>
  148.     $B!W$K@_Dj$9$k$3$H$G$=$N$h$&$K$G$-$^$9!#0J>e$3$l$i$N;vJA$O!"$I$s$J(B
  149.     OS $B!"%l%>%k%P%i%$%V%i%j$r;HMQ$7$F$$$k$+$K0MB8$7$^$9!#$^$?!"(B
  150.     <module>mod_env</module> $B$r;HMQ$7$F4D6-JQ?t$r@)8f$7$J$$8B$j!"(B
  151.     CGI $B$K$b1F6A$rM?$($^$9!#(Bman $B%Z!<%8$d;HMQ$7$F$$$k(B OS
  152.     $B$N(B FAQ $B$GD4$Y$k$HNI$$$G$7$g$&!#(B</p>
  153.   </section>
  154.   
  155.   <section id="tips">
  156.     <title>$B0J>e$NLdBj$r2r7h$9$kJ}K!(B</title>
  157.     
  158.     <ul>
  159.       <li>
  160.         <directive module="core">VirtualHost</directive>
  161.     $B$G(B IP $B%"%I%l%9$r;HMQ$9$k!#(B
  162.       </li>
  163.     
  164.       <li>
  165.         <directive module="mpm_common">Listen</directive>
  166.     $B$G(B IP $B%"%I%l%9$r;HMQ$9$k!#(B
  167.       </li>
  168.     
  169.       <li>
  170.     $BA4$F$N%P!<%A%c%k%[%9%H$,L@<(E*$K(B
  171.         <directive module="core">ServerName</directive>
  172.     $B$r;}$D$h$&$K$9$k!#(B
  173.       </li>
  174.     
  175.       <li>$B2?$b1~Ez$7$J$$(B
  176.       <code><VirtualHost _default_:*></code>
  177.       $B%5!<%P$r:n$k!#(B</li>
  178.     </ul>
  179.   </section>
  180.   
  181.   <section id="appendix">
  182.     <title>$BIUO?(B: $B>-MhE*$JJ}8~@-(B</title>
  183.     
  184.     <p>DNS $B$K4X$7$F!"8=>u$OA4$/59$7$/$"$j$^$;$s!#(BApache 1.2 $B$G!"(B
  185.     DNS $B$N%$%Y%s%H$,<:GT$7$F$b>/$J$/$H$b5/F0%W%m%;%9$,B3$/$h$&$K$7$^$7$?$,!"(B
  186.     $B$3$l$,:G9b$N2r7hJ}K!$G$O$J$$$G$7$g$&!#%"%I%l%9$N:F3d$jEv$F$,I,MWIT2DHr(B
  187.     $B$H$J$C$F$$$k:#F|$N%$%s%?!<%M%C%H$K$*$$$F$O!"(B
  188.     $B@_Dj%U%!%$%k$NCf$GL@<(E*$J(B IP $B%"%I%l%9$rMW5a$9$k;EMM$O!"(B
  189.     $BA4$/59$7$/$"$j$^$;$s!#(B</p>
  190.     
  191.     <p>$BEpMQ$N%5!<%S%9%"%?%C%/$K4X$7$F9T$J$&$Y$-;v$O!"(B
  192.     DNS $B=g0z$-$r9T$J$C$FF@$i$l$?%"%I%l%9$KBP$9$k(B DNS 
  193.     $B5U0z$-$r9T$J$C$F!"Fs$D$NL>A0$rHf3S$9$k$3$H$G$9!#(B
  194.     $B$3$NFs$D$,0lCW$7$J$1$l$P%P!<%A%c%k%[%9%H$OL58z$K$J$k$h$&$K$7$^$9!#(B
  195.     $B$3$&$9$k$?$a$K$O5U0z$-(B DNS $B$,E,@Z$K@_Dj$5$l$F$$$kI,MW$,$"$j$^$9(B
  196.     (FTP $B%5!<%P$d(B TCP $B%i%C%Q!<$N$*$+$2$G!VFs=E5U0z$-!W(BDNS $B$O0lHLE*$K(B
  197.     $B$J$C$F$$$^$9$N$G!"4IM}<T$K$O$*Fk@w$_$b$N$G$7$g$&(B)$B!#(B</p>
  198.     
  199.     <p>IP $B%"%I%l%9$,;HMQ$5$l$F$$$J$/$F(B DNS $B$,<:GT$7$?>l9g$O!"(B
  200.     $B$I$&$7$F$b%P!<%A%c%k%[%9%H%&%'%V%5!<%P$r?.Mj@-$r3NJ]$7$F(B
  201.     $B5/F0$5$;$k$3$H$OIT2DG=$N$h$&$G$9!#(B
  202.     $B@_Dj$N0lIt$rL58z$K$9$k$H$$$&$h$&$JItJ,E*$J2r7h$G$O!"(B
  203.     $B%5!<%P$,2?$r$9$k$h$&$K$9$k$+$K$b$h$j$^$9$,!"(B
  204.     $B$=$N%5!<%P$,5/F0$7$J$$$h$j3N<B$K0-$$>u67$K$J$k$G$7$g$&!#(B</p>
  205.     
  206.     <p>HTTP/1.1 $B$,3+H/$5$l!"%V%i%&%6$d%W%m%-%7$,(B <code>Host</code>
  207.     $B%X%C%@$rH/9T$9$k$h$&$K$J$C$?$N$G!"(BIP $B%Y!<%9$N%P!<%A%c%k%[%9%H$r(B
  208.     $BA4$/;HMQ$7$J$/$F$b:Q$`$h$&$K$J$k$+$b$7$l$^$;$s!#(B
  209.     $B$3$N>l9g!"%&%'%V%5!<%P$O@_DjCf$K(B DNS $B;2>H$r$7$J$/$F$b:Q$_$^$9!#(B
  210.     $B$7$+$7(B 1997 $BG/(B 3 $B7n;~E@$N>u67$G$O!"(B
  211.     $B>&MQ%l%Y%k$N%&%'%V%5!<%P$G;HMQ$G$-$k$[$I$K$O!"(B
  212.     $B$3$l$i$N5!G=$O9-$/3+H/$,?J$s$G$$$^$;$s!#(B</p>
  213.   </section>
  214. </manualpage>
  215.