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 / F232596_dnscaveats.html.ja.jis < prev    next >
Extensible Markup Language  |  2003-03-30  |  13KB  |  198 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       --><title>DNS $B$H(B Apache $B$K$^$D$o$kCm0U;v9`(B - Apache HTTP $B%5!<%P(B</title><link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /><link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="./mod/">$B%b%8%e!<%k(B</a> | <a href="./mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">$BMQ8l(B</a> | <a href="./sitemap.html">$B%5%$%H%^%C%W(B</a></p><p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP $B%5!<%P(B</a> > <a href="http://httpd.apache.org/docs-project/">$B%I%-%e%a%s%F!<%7%g%s(B</a> > <a href="./">$B%P!<%8%g%s(B 2.0</a></div><div id="page-content"><div id="preamble"><h1>DNS $B$H(B Apache $B$K$^$D$o$kCm0U;v9`(B</h1>
  8.     <p>$BK\J8=q$NFbMF$O<!$N0l8@$K?T$-$^$9!#!V(BApache $B$,@_Dj%U%!%$%k$rFI$_9~$`$H$-$K(B
  9.     DNS $B$r;HMQ$9$k(B$BI,MW$,$J$$$h$&$K$7$F2<$5$$!W!#(BApache $B$,@_Dj%U%!%$%k$r(B
  10.     $BFI$_9~$`$H$-$K(B DNS $B$r;HMQ$9$kI,MW$,$"$k>l9g!"?.Mj@-$NLdBj(B
  11.     ($B5/F0$7$J$$$+$b$7$l$^$;$s(B) $B$d%5!<%S%95qH]$dEpMQ%"%?%C%/(B
  12.     ($BB>$N%f!<%6$+$i%R%C%H$rEp$`$3$H$r4^$_$^$9(B)
  13.     $B$NLdBj$KD>LL$9$k$+$b$7$l$^$;$s!#(B</p>
  14.   </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#example">$B4JC1$JNc(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#denial">$B%5!<%S%95qH](B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#main">$B!V<g%5!<%P!W%"%I%l%9(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#tips">$B0J>e$NLdBj$r2r7h$9$kJ}K!(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#appendix">$BIUO?(B: $B>-MhE*$JJ}8~@-(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="example" id="example">$B4JC1$JNc(B</a></h2>
  15.     
  16.     
  17.     <div class="example"><p><code>
  18.       <VirtualHost www.abc.dom> <br />
  19.       ServerAdmin webgirl@abc.dom <br />
  20.       DocumentRoot /www/abc <br />
  21.       </VirtualHost>
  22.     </code></p></div>
  23.     
  24.     <p>Apache $B$,@5>o$K5!G=$9$k$K$O!"%P!<%A%c%k%[%9%HKh$KI,$:Fs$D$N(B
  25.     $B>pJs$,I,MW$K$J$j$^$9!#$=$l$O!"(B
  26.     <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>
  27.     $B$H!"$=$N%5!<%P$,1~Ez$9$k$?$a$N(B IP ($B:GDc0l$D(B) $B$G$9!#(B
  28.     $B$3$NNc$G$O(B IP $B%"%I%l%9$r4^$s$G$$$^$;$s$N$G!"(BApache $B$O(B DNS
  29.     $B$r;HMQ$7$F(B <code>www.abc.dom</code> $B$r8+$D$1$J$1$l$P$J$j$^$;$s!#(B
  30.     $B2?$i$+$NM}M3$G@_Dj%U%!%$%k$rFI$_9~$s$G$$$k$H$-$K(B DNS 
  31.     $B$,MxMQ$G$-$J$+$C$?>l9g!"(B
  32.     $B%P!<%A%c%k%[%9%H$O(B<strong>$B@_Dj$5$l$^$;$s(B</strong>$B!#(B
  33.     $B$=$7$F!"$=$N%P!<%A%c%k%[%9%H$KBP$9$k%R%C%H$K$O1~Ez$,$J$5$l$^$;$s(B
  34.     (Apache 1.2 $B0JA0$G$O5/F0$9$i$7$^$;$s(B)$B!#(B</p>
  35.     
  36.     <p><code>www.abc.dom</code> $B$N%"%I%l%9$,(B 10.0.0.1
  37.     $B$@$H$7$^$9!#$G$O!"<!$N@_Dj$K$D$$$F9M$($F$_$^$7$g$&!#(B</p>
  38.     
  39.     <div class="example"><p><code>
  40.       <VirtualHost 10.0.0.1> <br />
  41.       ServerAdmin webgirl@abc.dom <br />
  42.       DocumentRoot /www/abc <br />
  43.       </VirtualHost>
  44.     </code></p></div>
  45.     
  46.     <p>$B8=:_$N%j%j!<%9$G$O(B Apache $B$O(B DNS $B5U0z$-$r;HMQ$7$F(B
  47.     $B$3$N%P!<%A%c%k%[%9%H$N(B <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>
  48.     $B$r8+$D$1$^$9!#(B
  49.     $B$=$N5U0z$-$,<:GT$7$?>l9g$OItJ,(B$BE*$K%P!<%A%c%k%[%9%H$rL58z$K$7$^$9(B
  50.     (Apache 1.2 $B$h$jA0$G$O5/F0$9$i$7$^$;$s(B)$B!#(B
  51.     $B%P!<%A%c%k%[%9%H$,L>A0%Y!<%9$G$"$l$P40A4$KL58z$K$J$j$^$9$,!"(B
  52.     IP $B%Y!<%9$G$"$l$P35$MF0:n$7$^$9!#$7$+$7$J$,$i!"%5!<%PL>$r(B
  53.     $B4^$`40A4$J(B URL $B$r@8@.$7$J$1$l$P$J$i$J$$>l9g$O!"@5$7$$(B URL
  54.     $B$N@8@.$,$G$-$^$;$s!#(B</p>
  55.     
  56.     <p>$B<!$NNc$O>e5-$NLdBj$r2r7h$7$F$$$^$9!#(B</p>
  57.     
  58.     <div class="example"><p><code>
  59.       <VirtualHost 10.0.0.1> <br />
  60.       ServerName www.abc.dom <br />
  61.       ServerAdmin webgirl@abc.dom <br />
  62.       DocumentRoot /www/abc <br />
  63.       </VirtualHost>
  64.     </code></p></div>
  65.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="denial" id="denial">$B%5!<%S%95qH](B</a></h2>
  66.     
  67.     
  68.     <p>$B%5!<%S%95qH]$,5/$3$k>l9g!"(B($B>/$J$/$H$b(B) $BFs$D$N%1!<%9$,$"$j$^$9!#(B
  69.     Apache 1.2 $B$h$jA0$r<B9T$7$F$$$k>l9g!"%P!<%A%c%k%[%9%H$N$?$a$N(B
  70.     $B>e5-$NFs$D$N(B DNS $B8!:w$N$&$A0l$D<:GT$9$l$P5/F0$9$i$7$^$;$s!#(B
  71.     $B$=$7$F$3$N(B DNS $B8!:w$,<+J,$N@)8f2<$K$9$i$J$$>l9g$b$"$j$($^$9!#(B
  72.     $BNc$($P!"(B<code>abc.dom</code> $B$,8\5R$N%5!<%P$N0l$D$G!"(B
  73.     DNS $B$O8\5R<+?H$G4IM}$7$F$$$k>l9g!"C1$K(B
  74.     <code>www.abc.dom</code> $B%l%3!<%I$r:o=|$9$k$@$1$G!"(B
  75.     (1.2 $B$h$jA0$N(B) $B%5!<%P$r5/F0ITG=$K$9$k$3$H$,$G$-$^$9!#(B</p>
  76.     
  77.     <p>$B$b$&0l$D$N%1!<%9$O!"$h$j5$IU$-$K$/$$$b$N$G$9!#(B
  78.     $B<!$N@_Dj$K$D$$$F9M$($F$_$^$7$g$&!#(B</p>
  79.     
  80.     <div class="example"><p><code>
  81.       <VirtualHost www.abc.dom> <br />
  82.         ServerAdmin webgirl@abc.dom <br />
  83.         DocumentRoot /www/abc <br />
  84.       </VirtualHost> <br />
  85.       <br />
  86.       <VirtualHost www.def.dom> <br />
  87.         ServerAdmin webguy@def.dom <br />
  88.         DocumentRoot /www/def <br />
  89.       </VirtualHost>
  90.     </code></p></div>
  91.     
  92.     <p>10.0.0.1 $B$r(B <code>www.abc.dom</code> $B$K!"(B
  93.     10.0.0.2 $B$r(B <code>www.def.dom</code> $B$K3d$jEv$F$F$$$k$H$7$^$9!#(B
  94.     $B$^$?!"(B<code>def.dom</code> $B$O8\5R<+?H$N(B DNS
  95.     $B$N@)8f2<$K$"$k$H$7$^$9!#$3$N@_Dj$G!"(B<code>abc.dom</code>
  96.     $B$K8~$1$i$l$?%H%i%U%#%C%/A4$F$rC%$&$3$H$,$G$-$k0LCV$K(B
  97.     <code>def.dom</code> $B$r@_CV$G$-$F$$$^$9!#8e$OC1$K(B 
  98.     <code>www.def.dom</code> $B$,(B 10.0.0.1 $B$r;2>H$9$k$h$&$K(B
  99.     $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
  100.     <code>www.def.dom</code> $B%l%3!<%I$,9%$-$J>l=j$r;X$9$h$&$K(B
  101.     $B@_Dj$G$-$F$7$^$&$N$r;_$a$5$;$k$3$H$,$G$-$^$;$s!#(B</p>
  102.     
  103.     <p>10.0.0.1 $B$KBP$9$k%j%/%(%9%H(B
  104.     (<code>http://www.abc.dom/whatever</code> $B7A<0$N(B URL 
  105.     $B$rF~NO$7$?%f!<%6$+$i$N$b$NA4$F$r4^$_$^$9(B) 
  106.     $B$O!"(B<code>def.dom</code> $B%P!<%A%c%k%[%9%H$G1~Ez$5$l$^$9!#(B
  107.     $B$3$N$h$&$J$3$H$,2?8N5/$3$k$+$b$C$HNI$/CN$k$?$a$K$O!"(B
  108.     $B1~Ez$NI,MW$J%P!<%A%c%k%[%9%H$X$N%j%/%(%9%H$KBP$7$F!"(B
  109.     Apache $B$,$I$N$h$&$K@09g@-$r3NJ]$9$k$+$K$D$$$F!"(B
  110.     $B?<$$5DO@$,I,MW$K$J$j$^$9!#$*$*$6$C$Q$J@bL@$O(B<a href="vhosts/details.html">$B$3$A$i(B</a>$B$K5-=R$5$l$F$$$^$9!#(B</p>
  111.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="main" id="main">$B!V<g%5!<%P!W%"%I%l%9(B</a></h2>
  112.     
  113.     
  114.     <p>Apache 1.1 $B$G$N(B <a href="vhost/name-based.html">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$N%5%]!<%H(B</a> $BDI2C$N:]$K!"(B
  115.     Apache $B$O(B httpd $B$N<B9T$5$l$F$$$k%[%9%H$N(B IP
  116.     $B%"%I%l%9$rCN$kI,MW$,=P$F$-$^$7$?!#$3$N%"%I%l%9$rF@$k$?$a$K!"(B
  117.     ($B$b$7$"$l$P(B) $B%0%m!<%P%k$J(B
  118.     <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code> $B$r;HMQ$9$k$+!"(B
  119.     C $B8@8l$N4X?t(B <code>gethostname</code> ($B%3%^%s%I%W%m%s%W%H$G(B
  120.     <code>hostname</code> $B$H%?%$%W$7$?$H$-$HF1$8$b$N$rJV$7$^$9(B)
  121.     $B$r8F$S=P$9$+$r$7$^$9!#(B
  122.     $B$=$N8e!"F@$i$l$?%"%I%l%9$G(B DNS $B8!:w$r9T$J$$$^$9!#(B
  123.     $B8=:_$N$H$3$m!"$3$N(B DNS $B8!:w$r2sHr$9$kJ}K!$O$"$j$^$;$s!#(B</p>
  124.     
  125.     <p>DNS $B%5!<%P$,%@%&%s$7$F!"$3$N8!:w$,$G$-$J$$;vBV$,5/$3$k$3$H$r(B
  126.     $B62$l$F$$$k$N$G$"$l$P!"(B<code>/etc/hosts</code>
  127.     $B$K%[%9%HL>$r5-=R$7$F$*$/$3$H$,$G$-$^$9(B
  128.     ($B%^%7%s$,@5>o$K5/F0$9$k$h$&$K4{$K@_Dj$5$l$F$$$k$+$b$7$l$^$;$s(B)$B!#(B
  129.     $B$=$N>l9g!"(BDNS $B;2>H$,<:GT$7$?>l9g$K%^%7%s$,(B <code>/etc/hosts</code>
  130.     $B$r;HMQ$9$k$h$&$K@_Dj$7$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B
  131.     $B$=$NJ}K!$O!"$I$N(B OS $B$r;HMQ$7$F$$$k$+$K0MB8$7$^$9$,!"(B
  132.     <code>/etc/resolv.conf</code> $B$+(B <code>/etc/nsswitch.conf</code>
  133.     $B$rJT=8$9$k$3$H$G@_Dj$G$-$^$9!#(B</p>
  134.     
  135.     <p>$B$b$7B>$NM}M3$G(B DNS $B$rMxMQ$9$kI,MW$,$J$$>l9g$O!"(B
  136.     <code>HOSTRESORDER</code> $B4D6-JQ?t$r!V(B <code>local</code>
  137.     $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
  138.     OS $B!"%l%>%k%P%i%$%V%i%j$r;HMQ$7$F$$$k$+$K0MB8$7$^$9!#$^$?!"(B
  139.     <code class="module"><a href="./mod/mod_env.html">mod_env</a></code> $B$r;HMQ$7$F4D6-JQ?t$r@)8f$7$J$$8B$j!"(B
  140.     CGI $B$K$b1F6A$rM?$($^$9!#(Bman $B%Z!<%8$d;HMQ$7$F$$$k(B OS
  141.     $B$N(B FAQ $B$GD4$Y$k$HNI$$$G$7$g$&!#(B</p>
  142.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="tips" id="tips">$B0J>e$NLdBj$r2r7h$9$kJ}K!(B</a></h2>
  143.     
  144.     
  145.     <ul>
  146.       <li>
  147.         <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code>
  148.     $B$G(B IP $B%"%I%l%9$r;HMQ$9$k!#(B
  149.       </li>
  150.     
  151.       <li>
  152.         <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
  153.     $B$G(B IP $B%"%I%l%9$r;HMQ$9$k!#(B
  154.       </li>
  155.     
  156.       <li>
  157.     $BA4$F$N%P!<%A%c%k%[%9%H$,L@<(E*$K(B
  158.         <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>
  159.     $B$r;}$D$h$&$K$9$k!#(B
  160.       </li>
  161.     
  162.       <li>$B2?$b1~Ez$7$J$$(B
  163.       <code><VirtualHost _default_:*></code>
  164.       $B%5!<%P$r:n$k!#(B</li>
  165.     </ul>
  166.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="appendix" id="appendix">$BIUO?(B: $B>-MhE*$JJ}8~@-(B</a></h2>
  167.     
  168.     
  169.     <p>DNS $B$K4X$7$F!"8=>u$OA4$/59$7$/$"$j$^$;$s!#(BApache 1.2 $B$G!"(B
  170.     DNS $B$N%$%Y%s%H$,<:GT$7$F$b>/$J$/$H$b5/F0%W%m%;%9$,B3$/$h$&$K$7$^$7$?$,!"(B
  171.     $B$3$l$,:G9b$N2r7hJ}K!$G$O$J$$$G$7$g$&!#%"%I%l%9$N:F3d$jEv$F$,I,MWIT2DHr(B
  172.     $B$H$J$C$F$$$k:#F|$N%$%s%?!<%M%C%H$K$*$$$F$O!"(B
  173.     $B@_Dj%U%!%$%k$NCf$GL@<(E*$J(B IP $B%"%I%l%9$rMW5a$9$k;EMM$O!"(B
  174.     $BA4$/59$7$/$"$j$^$;$s!#(B</p>
  175.     
  176.     <p>$BEpMQ$N%5!<%S%9%"%?%C%/$K4X$7$F9T$J$&$Y$-;v$O!"(B
  177.     DNS $B=g0z$-$r9T$J$C$FF@$i$l$?%"%I%l%9$KBP$9$k(B DNS 
  178.     $B5U0z$-$r9T$J$C$F!"Fs$D$NL>A0$rHf3S$9$k$3$H$G$9!#(B
  179.     $B$3$NFs$D$,0lCW$7$J$1$l$P%P!<%A%c%k%[%9%H$OL58z$K$J$k$h$&(B$B$K$7$^$9!#(B
  180.     $B$3$&$9$k$?$a$K$O5U0z$-(B DNS $B$,E,@Z$K@_Dj$5$l$F$$$kI,MW$,$"$j$^$9(B
  181.     (FTP $B%5!<%P$d(B TCP $B%i%C%Q!<$N$*$+$2$G!VFs=E5U0z$-!W(BDNS $B$O0lHLE*$K(B
  182.     $B$J$C$F$$$^$9$N$G!"4IM}<T$K$O$*Fk@w$_$b$N$G$7$g$&(B)$B!#(B</p>
  183.     
  184.     <p>IP $B%"%I%l%9$,;HMQ$5$l$F$$$J$/$F(B DNS $B$,<:GT$7$?>l9g$O!"(B
  185.     $B$I$&$7$F$b%P!<%A%c%k%[%9%H%&%'%V%5!<%P$r?.Mj@-$r3NJ]$7$F(B
  186.     $B5/F0$5$;$k$3$H$OIT2DG=$N$h$&$G$9!#(B
  187.     $B@_Dj$N0lIt$rL58z$K$9$k$H$$$&$h$&$JItJ,E*$J2r7h$G$O!"(B
  188.     $B%5!<%P$,2?$r$9$k$h$&$K$9$k$+$K$b$h$j$^$9$,!"(B
  189.     $B$=$N%5!<%P$,5/F0$7$J$$$h$j3N<B$K0-$$>u67$K$J$k$G$7$g$&!#(B</p>
  190.     
  191.     <p>HTTP/1.1 $B$,3+H/$5$l!"%V%i%&%6$d%W%m%-%7$,(B <code>Host</code>
  192.     $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
  193.     $BA4$/;HMQ$7$J$/$F$b:Q$`$h$&$K$J$k$+$b$7$l$^$;$s!#(B
  194.     $B$3$N>l9g!"%&%'%V%5!<%P$O@_DjCf$K(B DNS $B;2>H$r$7$J$/$F$b:Q$_$^$9!#(B
  195.     $B$7$+$7(B 1997 $BG/(B 3 $B7n;~E@$N>u67$G$O!"(B
  196.     $B>&MQ%l%Y%k$N%&%'%V%5!<%P$G;HMQ$G$-$k$[$I$K$O!"(B
  197.     $B$3$l$i$N5!G=$O9-$/3+H/$,?J$s$G$$$^$;$s!#(B</p>
  198.   </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><p class="menu"><a href="./mod/">$B%b%8%e!<%k(B</a> | <a href="./mod/directives.html">$B%G%#%l%/%F%#%V(B</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">$BMQ8l(B</a> | <a href="./sitemap.html">$B%5%$%H%^%C%W(B</a></p></div></body></html>