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 / F251431_namebased.html.ja.jis < prev    next >
Extensible Markup Language  |  2003-04-23  |  12KB  |  241 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
  5.   <head>
  6.     <title>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</title>
  7.   </head>
  8.   <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
  9.   <!-- English revision: 1.17 -->
  10.   <body bgcolor="#ffffff" text="#000000" link="#0000ff"
  11.   vlink="#000080" alink="#ff0000">
  12.         <div align="center">
  13.       <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 
  14.  
  15.       <h3>Apache HTTP Server Version 2.0</h3>
  16.     </div>
  17.  
  18.  
  19.  
  20.  
  21.     <p>$B$3$NJ8=q$G$OL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r$I$s$J$H$-!"(B
  22.     $B$^$?$I$&$d$C$F;H$&$N$+$H$$$&$3$H$r@bL@$7$^$9!#(B</p>
  23.  
  24.     <ul>
  25.       <li><a href="#namevip">$BL>A0%Y!<%9(B $B$H(B IP-based
  26.       $B$N%P!<%A%c%k%[%9%H$NHf3S(B</a></li>
  27.  
  28.       <li><a href="#using">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$rMxMQ$9$k(B</a></li>
  29.  
  30.       <li><a href="#compat">$B8E$$%V%i%&%6$H$N8_49@-(B</a></li>
  31.     </ul>
  32.  
  33.     <p>$B;29M(B: <a href="examples.html">$BI8=`E*$J%;%C%H%"%C%W$G$N(B
  34.     $B%P!<%A%c%k%[%9%H$NNc(B</a>$B!"(B <a href="ip-based.html">IP $B%Y!<%9$N(B
  35.     $B%P!<%A%c%k%[%9%H$N%5%]!<%H(B</a>$B!"(B <a href="details.html">
  36.     $B%P!<%A%c%k%[%9%H$N%^%C%A%s%0$N6qBNE*$J>\:Y(B</a> $B$H(B <a
  37.     href="mass.html">$BBgNL$N%P!<%A%c%k%[%9%H$rF0E*$K@_Dj$9$k(B</a>
  38.     </p>
  39.     <hr />
  40.  
  41.     <h2><a id="namevip" name="namevip"
  42.     >$BL>A0%Y!<%9$H(B IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$NHf3S(B</a></h2>
  43.  
  44.     <p>$B=i4|$N%P!<%8%g%s$N(B HTTP $B$G$O(B ($BB>$NB?$/$N%W%m%H%3%k!"Nc$($P(B FTP
  45.     $B$HF1MM(B) $B0l$D$N%5!<%P>e$G$N%P!<%A%c%k%[%9%H$4$H$K0[$J$C$?(B IP
  46.     $B%"%I%l%9$,I,MW$G$7$?!#$$$/$D$+$N%W%i%C%H%U%)!<%`$G$O!"$3$N$3$H$,(B
  47.     $B<B9T2DG=$J%P!<%A%c%k%[%9%H$N?t$r8BDj$7$F$7$^$&$3$H$K$J$j$^$7$?!#(B
  48.     $B$^$?!"(BIP $B%"%I%l%9$N?t$K$O8B$j$,$"$k$H$$$&$3$H$K$D$$$F$N7|G0$+$i!"(B
  49.     $B%l%8%9%H%i(B (ARIN, RIPE, APNIC) $B$O%P!<%A%c%k%[%9%H$4$H$K(B
  50.     IP $B$r3d$jEv$F$k$h$&$J$3$H$OHr$1$k$h$&6/$/MW@A$7$F$$$^$9!#(B</p>
  51.  
  52.     <p>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$ODL>oC1=c$G!"$=$l$>$l$N%[%9%HL>$H(B
  53.     $B$=$l$KBP1~$9$k@53N$J(B IP $B%"%I%l%9$r(B DNS $B$G@_Dj$7!"0[$J$k(B
  54.     $B%[%9%HL>$r6hJL=PMh$k$h$&$K(B Apache HTTP $B%5!<%P$r@_Dj$9$k$@$1$G$9!#(B
  55.     $B$5$i$K!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$OITB-$9$k(B IP
  56.     $B%"%I%l%9$N<{MW$r4KOB$7$^$9!#$7$?$,$C$F!"(BIP $B%Y!<%9$N%P!<%A%c%k%[%9%H$r(B
  57.     $BA*Br$9$Y$-FCDj$NM}M3$,$J$1$l$PL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r;H$&$Y$-$G$9!#(B
  58.     IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$r;HMQ$9$k$3$H$r9MN8$9$kM}M3$H$7$F!"(B</p>
  59.  
  60.     <ul> 
  61.       <li>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$KBP1~$7$F$$$J$$8E$$%/%i%$%"%s%H$,$"$k(B
  62.       $BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$,F/$/$?$a$K$O!"%/%i%$%"%s%H$O(B
  63.       HTTP $B%[%9%H%X%C%@$rAw$C$F$3$J$1$l$P$J$j$^$;$s!#(B
  64.       $B$3$l$O(B HTTP/1.1 $B$N;EMM$GMW5a$5$l$F$$$F!"$9$Y$F$N8=BeE*$J(B
  65.       HTTP/1.0 $B%V%i%&%6$G$b3HD%$H$7$F<BAu$5$l$F$$$^$9!#(B
  66.       $B$H$F$b8E$$%/%i%$%"%s%H$r%5%]!<%H$7$D$D!"L>A0%Y!<%9$N(B
  67.       $B%P!<%A%c%k%[%9%H$r9T$$$?$$>l9g$O!"$3$NJ8=q$N:G8e$NJ}$K(B
  68.       $B=q$+$l$F$$$k2r7h:v$K$J$k$+$b$7$l$J$$J}K!$r8+$F$/$@$5$$!#(B</li>
  69.  
  70.       <li>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$O(B SSL $B%W%m%H%3%k$NFCD'$K$h$j!"(B
  71.       SSL $B%;%-%e%"%5!<%P$K$O;H$($^$;$s!#(B</li>
  72.  
  73.       <li>$B%*%Z%l!<%F%#%s%0%7%9%F%`$d%M%C%H%o!<%/AuCV$N$J$+$K$O!"(B
  74.       $BJL$N(B IP $B%"%I%l%9>e$G$J$$>l9g!"J#?t$N%[%9%H$rJL07$$$G$-$J$$$h$&$J(B
  75.       $BBS0h4IM}$NJ}K!$r<BAu$7$F$$$k$b$N$,$"$j$^$9!#(B</li>
  76.     </ul>
  77.  
  78.     <h2><a id="using"
  79.     name="using">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$rMxMQ$9$k(B</a></h2>
  80.  
  81.     <table border="1">
  82.       <tr>
  83.         <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br />
  84.          <br />
  85.          <a href="../mod/core.html#documentroot">DocumentRoot</a><br />
  86.          <a
  87.          href="../mod/core.html#namevirtualhost">NameVirtualHost</a><br />
  88.          <a href="../mod/core.html#serveralias">ServerAlias</a><br />
  89.          <a href="../mod/core.html#servername">ServerName</a><br />
  90.          <a href="../mod/core.html#serverpath">ServerPath</a><br />
  91.          <a href="../mod/core.html#virtualhost">VirtualHost</a><br />
  92.         </td>
  93.       </tr>
  94.     </table>
  95.  
  96.     <p>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r;H$&$K$O!"$=$N%[%9%H$X$N(B
  97.     $B%j%/%(%9%H$r<u$1IU$1$k%5!<%P$N(B IP $B%"%I%l%9(B ($B$b$7$+$7$?$i%]!<%H$b(B)
  98.     $B$r;XDj$9$kI,MW$,$"$j$^$9!#(B
  99.     $B$3$l$O(B <a href="../mod/core.html#namevirtualhost">NameVirtualHost</a>
  100.     $B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#DL>o!"(B<code>NameVirtualHost</code> $B$G(B
  101.     <code>*</code> $B$NB0@-$r;H$C$F%5!<%P$NA4$F$N(B IP $B%"%I%l%9$r;H$$$^$9!#(B
  102.     <code>NameVirtualHost</code> $B%G%#%l%/%F%#%V$G(B IP $B%"%I%l%9$r=q$$$F$b!"(B
  103.     $B<+F0E*$K%5!<%P$,$=$N(B IP $B%"%I%l%9$r%j%C%9%s$9$k$H$$$&$3$H$O$J$$$3$H$K(B
  104.     $BCm0U$7$F$/$@$5$$!#>\:Y$O(B <a href="../bind.html">Apache $B$N;H$&%"%I%l%9$H(B
  105.     $B%]!<%H$r@_Dj$9$k(B</a> $B$rFI$s$G$/$@$5$$!#$5$i$K!"$3$3$G;XDj$5$l$?(B
  106.     IP $B%"%I%l%9$OA4$F%5!<%P$N%M%C%H%o!<%/%$%s%?!<%U%'!<%9$H4XO"IU$1$i$l$F(B
  107.     $B$$$J$1$l$P$J$j$^$;$s!#(B</p>
  108.  
  109.     <p>$B<!$O!"07$$$?$$$=$l$>$l$N%[%9%H$KBP$7$F(B <a
  110.     href="../mod/core.html#virtualhost"><VirtualHost></a> $B%V%m%C%/$r(B
  111.     $B:n@.$7$F$/$@$5$$!#(B<code><VirtualHost></code> $B%G%#%l%/%F%#%V$N(B
  112.     $B0z?t$O(B <code>NameVirtualHost</code> $B%G%#%l%/%F%#%V$N0z?t$H(B
  113.     $BF1$8$K$7$F$/$@$5$$(B ($B$9$J$o$A!"(BIP $B%"%I%l%90l$D$dA4$F$N%"%I%l%9$N$?$a$N(B
  114.     <code>*</code>)$B!#$=$l$>$l$N(B <code><VirtualHost></code> $B%G%#%l%/%F%#%V(B
  115.     $B$NCf$K$O!":GDc8B!"$I$N%[%9%H$,07$o$l$k$+$r<($9(B <a
  116.     href="../mod/core.html#servername">ServerName</a> $B%G%#%l%/%F%#%V$H!"(B
  117.     $B$=$N%[%9%HMQ$N%3%s%F%s%D$,%U%!%$%k%7%9%F%`>e$N$I$3$K$"$k$+$r<($9(B
  118.     <a href="../mod/core.html#documentroot">DocumentRoot</a> $B%G%#%l%/%F%#%V$r(B
  119.     $B=q$/I,MW$,$"$j$^$9!#(B</p>
  120.  
  121.     <p>$B$?$H$($P!"(B<samp>www.domain.tld</samp> $B$H(B
  122.     <samp>www.otherdomain.tld</samp> $B$NN>J}$,(B 1$B$D$N(B IP
  123.     $B%"%I%l%9$r;X$7$F$$$k$H$7$^$7$g$&!#$=$N$h$&$J>l9g$O!"(B
  124.     <code>httpd.conf</code> $B$K0J2<$N$h$&$J%3!<%I$rDI2C$9$k$@$1$G$9(B</p>
  125. <pre>
  126.     NameVirtualHost *
  127.  
  128.     <VirtualHost *>
  129.     ServerName www.domain.tld
  130.     DocumentRoot /www/domain
  131.     </VirtualHost>
  132.  
  133.     <VirtualHost *>
  134.     ServerName www.otherdomain.tld
  135.     DocumentRoot /www/otherdomain
  136.     </VirtualHost>
  137. </pre>
  138.  
  139.     <p><code>NameVirtualHost</code> $B5Z$S(B
  140.     <code><VirtualHost></code> $B$N$I$A$i$N>l9g$b!"(B
  141.     * $B$NItJ,$K$OL@<(E*$K(B IP $B%"%I%l%9$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p>
  142.  
  143.     <p>$BJ#?t$NL>A0$G%5!<%P%"%/%;%9$,$G$-$k$h$&$K$7$?$$$3$H$bB?$$$G$7$g$&!#(B
  144.     $B$3$N$h$&$J$3$H$O!"(B<a href="../mod/core.html#serveralias"
  145.     ><code>ServerAlias</code></a> $B%G%#%l%/%F%#%V$r(B <VirtualHost>
  146.     $B%;%/%7%g%s$K5-=R$9$k$3$H$G<B8=$G$-$^$9!#(B
  147.     $BNc$($P$3$l$r:G=i$N(B <VirtualHost> $B%V%m%C%/$K=q$-2C$($k$H!"(B</p> 
  148. <pre>
  149.     ServerAlias domain.tld *.domain.tld
  150. </pre>
  151.  
  152.     <p><code>domain.tld</code> $B%I%a%$%s$X$NA4$F$N%[%9%H$X$N%j%/%(%9%H$O(B
  153.     <code>www.domain.tld</code> $B$N%P!<%A%c%k%[%9%H$,=hM}$7$^$9!#(B
  154.     * $B$d(B ? $B$r%o%$%k%I%+!<%IJ8;z$H$7$F;HMQ$G$-$^$9!#(B
  155.   Of course,you can't just make up names and place them in <code>ServerName</code>
  156.   or <code>ServerAlias</code>.
  157.     $BBh0l$K(B DNS $B$N%[%9%HL>$H(B IP $B%"%I%l%9$r%5!<%P$K$"$o$;$FE,@Z$K@_Dj$9$k;v$,I,MW$G$9(B</p>
  158.  
  159.     <p>$B:G8e$K!"(B<code><VirtualHost></code> $B%3%s%F%J$NCf$K(B
  160.     $BB>$N%G%#%l%/%F%#%V$r=q$/$3$H$G!"%P!<%A%c%k%[%9%H$N@_Dj$r:Y$+$/JQ99(B
  161.     $B$9$k$3$H$,$G$-$^$9!#$I$N%G%#%l%/%F%#%V$r=q$/$3$H$,$G$-$k$+$O!"(B
  162.     $B%G%#%l%/%F%#%V$N(B <a
  163.     href="../mod/directive-dist.html#context">$B%3%s%F%-%9%H(B</a> $B$r(B
  164.     $BD4$Y$F$/$@$5$$!#(B<em>$B<g%5!<%P%3%s%F%-%9%H(B</em>
  165.     (<code><VirtualHost></code> $B%3%s%F%J$N30(B) $B$N(B
  166.     $B@_DjMQ%G%#%l%/%F%#%V$O%P!<%A%c%k%[%9%H$G$N@_Dj$G>e=q$-$5$l$F$$$J$$(B
  167.     $B$H$-$N$_;HMQ$5$l$^$9!#(B</p>
  168.  
  169.     <p>$B%j%/%(%9%H$,Mh$k$H!"%5!<%P$O$^$::G=i$K(B <code>NameVirtualHost</code>
  170.     $B$K%^%C%A$9$k(B IP $B%"%I%l%9$+$I$&$+$r%A%'%C%/$7$^$9!#%^%C%A$9$l$P(B
  171.     $B%^%C%A$7$?(B IP $B%"%I%l%9$N(B <code><VirtualHost></code>
  172.     $B$N$=$l$>$l$N%;%/%7%g%s$NCf$+$i(B <code>ServerName</code> $B$+(B
  173.     <code>ServerAlias</code> $B$KMW5a$5$l$?%[%9%HL>$,$"$k$+C5$7$^$9!#(B
  174.     $B8+$D$+$l$P$=$N%5!<%PMQ$N@_Dj$r;H$$$^$9!#%^%C%A$9$k%P!<%A%c%k%[%9%H(B
  175.     $B$,8+$D$+$i$J$1$l$P!"%^%C%A$7$?(B IP $B%"%I%l%9$N(B 
  176.     <strong>$B%j%9%H$N:G=i$K$"$k%P!<%A%c%k%[%9%H(B</strong> $B$,;H$o$l$^$9!#(B</p>
  177.  
  178.     <p>$B7k2L$H$7$F!"%j%9%H$N:G=i$N%P!<%A%c%k%[%9%H$,(B <em>$B%G%U%)%k%H(B</em> $B$N(B
  179.     $B%P!<%A%c%k%[%9%H$K$J$j$^$9!#(BIP $B%"%I%l%9$,(B <code>NameVirtualHost</code>
  180.     $B%G%#%l%/%F%#%V$K%^%C%A$7$?>l9g$O!"(B<em>$B%a%$%s$N%5!<%P(B</em> $B$N(B
  181.     <code>DocumentRoot</code> $B;H$o$l(B <strong>$B$^$;$s(B</strong>
  182.     $B$I$N%P!<%A%c%k%[%9%H$K$b%^%C%A$7$J$$%j%/%(%9%H$KBP$7$F!"(B
  183.     $BFCJL$J@_Dj$r$7$?$$$N$G$"$l$P!"@_Dj%U%!%$%kCf$N:G=i$N(B
  184.     <code><VirtualHost></code> $B$K$=$l$r5-=R$7$F$/$@$5$$!#(B</p>
  185.  
  186.     <h2><a id="compat" name="compat">$B8E$$%V%i%&%6$H$N8_49@-(B</a></h2>
  187.  
  188.     <p>$B>e$G=q$$$?$h$&$K!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$,@5$7$/F0:n$9$k(B
  189.     $B$?$a$KI,MW$J>pJs$rAw$C$F$3$J$$%/%i%$%"%s%H$,0MA3$H$7$FB8:_$7$F$$$^$9!#(B
  190.     $B$=$N$h$&$J%/%i%$%"%s%H$KBP$7$F$O!"3:Ev$9$k(B IP $B%"%I%l%9$K$D$$$F!"(B
  191.     $B0lHV:G=i$K@_Dj$5$l$F$$$k%P!<%A%c%k%[%9%H(B
  192.     (<cite>$B%W%i%$%^%j(B</cite>$B$NL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B)
  193.     $B$+$i%Z!<%8$,Aw$jJV$5$l$^$9!#(B</p>
  194.  
  195.     <p><a href="../mod/core.html#serverpath"><code>ServerPath</code></a>
  196.     $B%G%#%l%/%F%#%V$GBP=h$,2DG=$G$9!#$A$g$C$HIT3J9%$G$9$1$l$I$b!#(B</p>
  197.  
  198.     <p>$B@_DjNc(B</p>
  199. <pre>
  200.     NameVirtualHost 111.22.33.44
  201.  
  202.     <VirtualHost 111.22.33.44>
  203.     ServerName www.domain.tld
  204.     ServerPath /domain
  205.     DocumentRoot /web/domain
  206.     </VirtualHost>
  207. </pre>
  208.  
  209.     <p>$B$3$NNc$K$O$I$&$$$&0UL#$,$"$k$G$7$g$&$+(B? $B$3$l$O(B
  210.     "<samp>/domain</samp>" $B$G;O$^$k(B URI $B$X$N%j%/%(%9%H$O$9$Y$F!"(B
  211.     $B%P!<%A%c%k%[%9%H(B <samp>www.domain.tld</samp> $B$G=hM}$5$l$k!"(B
  212.     $B$H$$$&0UL#$G$9!#$D$^$j!"$9$Y$F$N%/%i%$%"%s%H$G(B
  213.     <code>http://www.domain.tld/domain/</code> $B$G%"%/%;%9$G$-$k%Z!<%8$,!"(B
  214.     <samp>Host:</samp> $B%X%C%@$rAw$C$F$/$k%/%i%$%"%s%H$G$"$l$P(B
  215.     <code>http://www.domain.tld/</code> $B$H$7$F$b%"%/%;%9$G$-$k!"(B
  216.     $B$H$$$&0UL#$G$9!#(B</p>
  217.  
  218.     <p>$B$3$l$r<BMQE*$J$b$N$H$9$k$?$a$K$O!"(B
  219.     $B%W%i%$%^%j$N%P!<%A%c%k%[%9%H$N%Z!<%8$K(B
  220.     <samp>http://www.domain.tld/domain/</samp> $B$X$N%j%s%/$r@_CV$7$^$9!#(B
  221.     $B$=$7$F!"%P!<%A%c%k%[%9%H$N%Z!<%8$G$O!"=c?h$JAjBP%j%s%/(B (<em>$BNc(B:</em>
  222.     "<samp>file.html</samp>" $B$d(B "<samp>../icons/image.gif</samp>")$B!"(B
  223.     $B$"$k$$$O(B <samp>/domain/</samp> $B$G;O$^$k%j%s%/(B (<em>$BNc(B:</em>
  224.     "<samp>http://www.domain.tld/domain/misc/file.html</samp>" $B$d(B
  225.     "<samp>/domain/misc/file.html</samp>") $B$@$1$r@_CV$7$^$9!#(B</p>
  226.  
  227.     <p>$B$3$l$K$O!"4vJ,$+$N5,N'$,I,MW$H$J$j$^$9$,!"(B
  228.     $B$3$N$h$&$J%,%$%I%i%$%s$rCi<B$K<i$k$3$H$K$h$j!"$?$$$F$$$N>l9g!"(B
  229.     $B$9$Y$F$N%V%i%&%6$G(B $B!=(B $B?7$7$$%V%i%&%6$G$b8E$$$b$N$G$b(B $B!=(B
  230.     $B:n@.$7$?%Z!<%8$,8+$($k$H$$$&$3$H$rJ]>Z$7$^$9!#(B</p>
  231.  
  232.     <p>$B;29M(B: <a href="examples.html#serverpath">ServerPath $B@_DjNc(B</a></p>
  233.         <hr />
  234.  
  235.     <h3 align="center">Apache HTTP Server Version 2.0</h3>
  236.     <a href="./"><img src="../images/index.gif" alt="Index" /></a>
  237.     <a href="../"><img src="../images/home.gif" alt="Home" /></a>
  238.  
  239.   </body>
  240. </html>
  241.