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