home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 May / PCWorld_2004-05_cd.bin / komunikace / apache / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252144_sections.html.ja.jis < prev    next >
Extensible Markup Language  |  2003-05-29  |  27KB  |  462 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.       -->
  8. <title>$B%;%/%7%g%s$N@_Dj(B - Apache HTTP $B%5!<%P(B</title>
  9. <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="./images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <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>
  15. <p class="apache">Apache HTTP $B%5!<%P(B $B%P!<%8%g%s(B 2.0</p>
  16. <img alt="" src="./images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
  18. <div id="path">
  19. <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>$B%;%/%7%g%s$N@_Dj(B</h1>
  20. <div class="toplang">
  21. <p><span>Available Languages: </span><a href="./en/sections.html" hreflang="en" rel="alternate" title="English"> en </a> |
  22. <a href="./ja/sections.html" title="Japanese"> ja </a> |
  23. <a href="./ko/sections.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  24. </div>
  25.  <p><a href="configuring.html">$B@_Dj%U%!%$%k(B</a>$BCf$N%G%#%l%/%F%#%V$O(B
  26. $B%5!<%PA4BN$KE,MQ$5$l$?$j!"FCDj$N%G%#%l%/%H%j$d%U%!%$%k!"%[%9%H!"(BURL $B$K$N$_(B
  27. $BE,MQ$5$l$k$h$&$K@)8B$7$?$j$9$k$3$H$,$G$-$^$9!#$3$NJ8=q$O@_DjMQ$N%;%/%7%g%s$N(B
  28. $B%3%s%F%J$d(B <code>.htaccess</code> $B%U%!%$%k$r;H$C$FB>$N@_Dj%G%#%l%/%F%#%V$N(B
  29. $B%9%3!<%W$rJQ99$9$kJ}K!$r@bL@$7$^$9!#(B</p>
  30. </div>
  31. <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#types">$B@_DjMQ%;%/%7%g%s%3%s%F%J$N<oN`(B</a></li>
  32. <li><img alt="" src="./images/down.gif" /> <a href="#file-and-web">$B%U%!%$%k%7%9%F%`$H%&%'%V6u4V(B</a></li>
  33. <li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">$B%P!<%A%c%k%[%9%H(B</a></li>
  34. <li><img alt="" src="./images/down.gif" /> <a href="#proxy">$B%W%m%/%7(B</a></li>
  35. <li><img alt="" src="./images/down.gif" /> <a href="#whatwhere">$B$I$N%G%#%l%/%F%#%V$,;H$($k$N(B?</a></li>
  36. <li><img alt="" src="./images/down.gif" /> <a href="#mergin">$B%;%/%7%g%s$N%^!<%8J}K!(B</a></li>
  37. </ul></div>
  38. <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  39. <div class="section">
  40. <h2><a name="types" id="types">$B@_DjMQ%;%/%7%g%s%3%s%F%J$N<oN`(B</a></h2>
  41.  
  42. <table class="related"><tr><th>$B4XO"%b%8%e!<%k(B</th><th>$B4XO"%G%#%l%/%F%#%V(B</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code></li><li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#files"><Files></a></code></li><li><code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code></li><li><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code></li><li><code class="directive"><a href="./mod/core.html#location"><Location></a></code></li><li><code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code></li><li><code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code></li><li><code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li></ul></td></tr></table>
  43.  
  44. <p>$B%3%s%F%J$K$OFs$D$N4pK\$H$J$k<oN`$,$"$j$^$9!#$[$H$s$I$N%3%s%F%J$O(B
  45. $B3F%j%/%(%9%H$KBP$7$FI>2A$5$l$^$9!#$=$N>l9g!"%3%s%F%JCf$N%G%#%l%/%F%#%V$O(B
  46. $B%3%s%F%J$K%^%C%A$9$k%j%/%(%9%H$K$N$_E,MQ$5$l$^$9!#(B
  47. $B0lJ}!"(B<code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code> $B%3%s%F%J$H(B <code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code> $B%3%s%F%J$O(B
  48. $B%5!<%P$N5/F0;~$H:F5/F0;~$K$N$_I>2A$5$l$^$9!#5/F0;~$K>r7o$,??$G$"$l$P!"(B
  49. $B%3%s%F%JCf$N%G%#%l%/%F%#%V$O$9$Y$F$N%j%/%(%9%H$KE,MQ$5$l$^$9!#>r7o$,(B
  50. $B56$G$"$l$P!"%3%s%F%JCf$N%G%#%l%/%F%#%V$OL5;k$5$l$^$9!#(B</p>
  51.  
  52. <p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code> $B%G%#%l%/%F%#%V$O(B
  53. <code>httpd</code> $B%3%^%s%I%i%$%s$GE,@Z$J%Q%i%a!<%?$,Dj5A$5$l$?$H$-$K$N$_(B
  54. $BE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$$$^$9!#Nc$($P<!$N@_Dj$G$O!"%5!<%P$,(B
  55. <code>httpd -DClosedForNow</code> $B$r;H$C$F5/F0$5$l$?$H$-$@$1$9$Y$F$N(B
  56. $B%j%/%(%9%H$rJL$N%5%$%H$K%j%@%$%l%/%H$7$^$9(B:</p>
  57.  
  58. <div class="example"><p><code>
  59. <IfDefine ClosedForNow><br />
  60. Redirect / http://otherserver.example.com/<br />
  61. </IfDefine>
  62. </code></p></div>
  63.  
  64. <p><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code> $B$O(B
  65. $BHs>o$K;w$F$$$^$9$,!"Be$o$j$K%5!<%P>e$G%b%8%e!<%k$,;HMQ2DG=$J>l9g$K$N$_(B
  66. $BE,MQ2DG=$J%G%#%l%/%F%#%V$r0O$$$^$9!#%b%8%e!<%k$O%5!<%P$K(B
  67. $B@EE*$KAH$_9~$^$l$F$$$k$+!"F0E*$KAH$_9~$`$h$&$K$J$C$F$$$F!"@_Dj%U%!%$%kCf$G(B
  68. <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code> $B$N9T$,$h$jA0$N(B
  69. $BItJ,$K=q$+$l$F$$$kI,MW$,$"$j$^$9!#$3$N%G%#%l%/%F%#%V$OFCDj$N%b%8%e!<%k$N(B
  70. $BB8:_$K4X$o$i$:@_Dj%U%!%$%k$,F0:n$9$kI,MW$,$"$k>l9g$K$N$_;H$C$F$/$@$5$$!#(B
  71. $B>o$KF0:n$7$FM_$7$$%G%#%l%/%F%#%V$r0O$`$?$a$K;H$&$Y$-$G$O$"$j$^$;$s!#(B
  72. $BB8:_$7$J$$(B$B%b%8%e!<%k$K4X$9$kM-MQ$J%(%i!<%a%C%;!<%8$NH/@8$rM^@)$7$F$7$^$$$^$9$N$G!#(B
  73. </p>
  74.  
  75. <p>$B<!$NNc$G$O!"(B<code class="module"><a href="./mod/mod_mime_magic.html">mod_mime_magic</a></code> $B$,$"$k$H$-$K$N$_(B <code class="directive"><a href="./mod/mod_mime_magic.html#mimemagicfiles">MimeMagicFiles</a></code> $B%G%#%l%/%F%#%V$,(B
  76. $BE,MQ$5$l$^$9!#(B</p>
  77.  
  78. <div class="example"><p><code>
  79. <IfModule mod_mime_magic.c><br />
  80. MimeMagicFile conf/magic<br />
  81. </IfModule>
  82. </code></p></div>
  83.  
  84. <p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code> $B%G%#%l%/%F%#%V$H(B
  85. <code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code> $B%G%#%l%/%F%#%V$O(B
  86. $B%F%9%H$NA0$K(B "!" $B$rIU$1$k$3$H$GH]Dj$N>r7o$rE,MQ$9$k$3$H$,$G$-$^$9!#(B
  87. $B$^$?!"$3$l$i$N%;%/%7%g%s$O$h$jJ#;($J@)8B$r2]$9$?$a$KF~$l;R$K$9$k$3$H$,$G$-$^$9!#(B
  88. </p>
  89. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  90. <div class="section">
  91. <h2><a name="file-and-web" id="file-and-web">$B%U%!%$%k%7%9%F%`$H%&%'%V6u4V(B</a></h2>
  92.  
  93. <p>$B:G$b$h$/;H$o$l$k@_Dj$N%;%/%7%g%s%3%s%F%J$O%U%!%$%k%7%9%F%`$d%&%'%V6u4V$N(B
  94. $BFCDj$N>l=j$N@_Dj$rJQ99$9$k$b$N$G$9!#$^$:!"$3$NFs$D$N0c$$$rM}2r$9$k$3$H$,(B
  95. $BBg@Z$G$9!#%U%!%$%k%7%9%F%`$O%*%Z%l!<%F%#%s%0%7%9%F%`$+$i8+$?%G%#%9%/$NFbMF$G$9!#(B
  96. $B$?$H$($P!"%G%U%)%k%H$N%$%s%9%H!<%k$G$O(B Apache $B$O(B Unix $B%U%!%$%k%7%9%F%`$G$O(B
  97. <code>/usr/local/apache2</code> $B$K!"(BWindows $B%U%!%$%k%7%9%F%`$G$O(B
  98. <code>"c:/Program Files/Apache Group/Apache2"</code> $B$KB8:_$7$^$9!#(B
  99. (Apache $B$G$O(B Windows $B$G$b%Q%9%;%Q%l!<%?$H$7$F%9%i%C%7%e$r;H$&$3$H$K(B
  100. $B5$$r$D$1$F$/$@$5$$!#(B) $BBP>HE*$K!"%&%'%V6u4V$O$"$J$?$N%5%$%H$r(B
  101. $B%&%'%V%5!<%P$+$iG[?.$5$l$k$b$N$H$7$F8+$?$b$N$G!"%/%i%$%"%s%H$K8+$($k$b$N$G$9!#(B
  102. $B%G%U%)%k%H$N(B Unix $B>e$N(B Apache $B$N%$%s%9%H!<%k$G$O%&%'%V6u4V$N(B
  103. <code>/dir/</code> $B$H$$$&%Q%9$O%U%!%$%k%7%9%F%`$N(B
  104. <code>/usr/local/apache2/htdocs/dir/</code> $B$H$$$&%Q%9$KBP1~$7$^$9!#(B
  105. $B%&%'%V%Z!<%8$O%G!<%?%Y!<%9$dB>$N>l=j$+$iF0E*$K@8@.$9$k$3$H$b$G$-$^$9$N$G!"(B
  106. $B%&%'%V6u4V$O%U%!%$%k%7%9%F%`$KD>@\%^%C%W$9$kI,MW$O$"$j$^$;$s!#(B</p>
  107.  
  108. <h3><a name="filesystem" id="filesystem">$B%U%!%$%k%7%9%F%`%3%s%F%J(B</a></h3>
  109.  
  110. <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%G%#%l%/%F%#%V$H(B
  111. <code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B%G%#%l%/%F%#%V!"$=$l$H(B
  112. $B$=$l$i$N@55,I=8=HG$O%G%#%l%/%F%#%V$r%U%!%$%k%7%9%F%`$N0lItJ,$KBP$7$FE,MQ$7$^$9!#(B
  113. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$N(B
  114. $BCf$N%G%#%l%/%F%#%V$O;XDj$5$l$?%G%#%l%/%H%j$H$=$N$9$Y$F$N%5%V%G%#%l%/%H%j$K(B
  115. $BE,MQ$5$l$^$9!#(B<a href="howto/htaccess.html">.htaccess $B%U%!%$%k(B</a>$B$r(B
  116. $B;H$&$3$H$G$bF1$88z2L$rF@$k(B$B$3$H$,$G$-$^$9!#Nc$($P!"<!$N@_Dj$G$O(B
  117. <code>/var/web/dir1</code> $B$H$9$Y$F$N%5%V%G%#%l%/%H%j$KBP$7$F(B
  118. $B%G%#%l%/%H%j%$%s%G%C%/%9$r9T$J$$$^$9!#(B</p>
  119.  
  120. <div class="example"><p><code>
  121. <Directory /var/web/dir1><br />
  122. Options +Indexes<br />
  123. </Directory>
  124. </code></p></div>
  125.  
  126. <p><code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B%;%/%7%g%s$N(B
  127. $BCf$K$"$k%G%#%l%/%F%#%V$O$I$N%G%#%l%/%H%j$K$"$k$+$K4X$o$i$:!";XDj$5$l$?L>A0$N(B
  128. $B$9$Y$F$N%U%!%$%k$KE,MQ$5$l$^$9!#$G$9$+$iNc$($P0J2<$N@_Dj%G%#%l%/%F%#%V$,(B
  129. $B@_Dj%U%!%$%k$N<g%;%/%7%g%s$K=q$+$l$?$H$-$K$O!"$9$Y$F$N>l=j$N(B
  130. <code>private.html</code> $B$H$$$&L>A0$N%U%!%$%k$X$N%"%/%;%9$r5qH]$7$^$9!#(B</p>
  131.  
  132. <div class="example"><p><code>
  133. <Files private.html><br />
  134. Order allow,deny<br />
  135. Deny from all<br />
  136. </Files>
  137. </code></p></div>
  138.  
  139. <p>$B%U%!%$%k%7%9%F%`$NFCDj$N>l=j$K$"$k%U%!%$%k$r;XDj$9$k$?$a$K!"(B
  140. <code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B%;%/%7%g%s$H(B
  141. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$r(B
  142. $BAH$_9g$o$;$k$3$H$,$G$-$^$9!#Nc$($P!"<!$N@_Dj$G$O(B
  143. <code>/var/web/dir1/private.html</code>, 
  144. <code>/var/web/dir1/subdir2/private.html</code>, 
  145. <code>/var/web/dir1/subdir3/private.html</code> $B$J$I!"(B
  146. <code>/var/web/dir1/</code> $B%G%#%l%/%H%j$N2<$K$"$k$9$Y$F$N(B
  147. <code>private.html</code> $B$X$N%"%/%;%9$r5qH]$7$^$9!#(B</p>
  148.  
  149. <div class="example"><p><code>
  150. <Directory /var/web/dir1><br />
  151. <Files private.html><br />
  152. Order allow,deny<br />
  153. Deny from all<br />
  154. </Files><br />
  155. </Directory>
  156. </code></p></div>
  157.  
  158.  
  159. <h3><a name="webspace" id="webspace">$B%&%'%V6u4V%3%s%F%J(B</a></h3>
  160.  
  161. <p>$B0lJ}!"(B<code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  162. $B%G%#%l%/%F%#%V$H$=$N@55,I=8=HG$O%&%'%V6u4V>e$NFbMF$KBP$7$F@_Dj$rJQ99$7$^$9!#(B
  163. $B$?$H$($P!"<!$N@_Dj$G$O(B /private $B$G;O$^$k(B URL $B%Q%9$X$N%"%/%;%9$r@)8B$7$^$9!#(B
  164. $B6qBNE*$K$O!"(B
  165. <code>http://yoursite.example.com/private</code>,
  166. <code>http://yoursite.example.com/private123</code>, 
  167. <code>http://yoursite.example.com/private/dir/file.html</code> 
  168. $B$X$N%j%/%(%9%H$d!"(B
  169. $BB>$NF1MM$K(B <code>/private</code> $BJ8;zNs$G;O$^$k%j%/%(%9%H$K(B
  170. $BE,MQ$5$l$^$9!#(B</p>
  171.  
  172. <div class="example"><p><code>
  173. <Location /private><br />
  174. Order Allow,Deny<br />
  175. Deny from all<br />
  176. </Location>
  177. </code></p></div>
  178.  
  179. <p><code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  180. $B%G%#%l%/%F%#%V$O%U%!%$%k%7%9%F%`$H4X78$"$kI,MW$,A4$/$"$j$^$;$s!#(B
  181. $B$?$H$($P<!$NNc$G$O!"$I$N$h$&$K$7$FFCDj$N(B URL $B$r(B
  182. <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>$B$GDs6!$5$l$F$$$k(B Apache 
  183. $BFbIt%O%s%I%i$K%^%C%W$9$k$+$r<($7$F$$$^$9!#%U%!%$%k%7%9%F%`$K(B
  184. <code>server-status</code> $B$H$$$&%U%!%$%k$,B8:_$9$kI,MW$O$"$j$^$;$s!#(B</p>
  185.  
  186. <div class="example"><p><code>
  187. <Location /server-status><br />
  188. SetHandler server-status<br />
  189. </Location>
  190. </code></p></div>
  191.  
  192.  
  193. <h3><a name="wildcards" id="wildcards">$B%o%$%k%I%+!<%I$H@55,I=8=(B</a></h3>
  194.  
  195. <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>, 
  196. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>, 
  197. <code class="directive"><a href="./mod/core.html#location"><Location></a></code> 
  198. $B%G%#%l%/%F%#%V$G$O!"(B C $BI8=`%i%$%V%i%j$N(B <code>fnmatch</code> $B$N$h$&$K(B
  199. shell $B%9%?%$%k$N%o%$%k%I%+!<%I%-%c%i%/%?$,;HMQ$G$-$^$9!#(B
  200. "*" $BJ8;z$OG$0U$NJ8;zNs$K%^%C%A$7!"(B"?" $BJ8;z$OG$0U$N(B 1 $BJ8;z$K%^%C%A$7!"(B
  201. "[<em>seq</em>]" $B$O(B <em>seq</em> $B$NG$0U$NJ8;z$K%^%C%A$7$^$9!#(B
  202. "/" $BJ8;z$O$I$N%o%$%k%I%+!<%I$G$b%^%C%A$5$l$^$;$s!#(B
  203. $BL@<(E*$K;XDj$9$kI,MW$,$"$j$^$9!#(B</p>
  204.  
  205. <p>$B$3$l$h$j=@Fp$J%^%C%A%s%0$,I,MW$J>l9g$O!"$3$l$i$N%3%s%F%J$N@55,I=8=(B
  206. (regex) $BHG$G$"$k(B
  207. <code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, 
  208. <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, 
  209. <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>
  210. $B$,$"$j!"%^%C%A$rA*Br$9$k$N$K(B perl $B8_49(B<a href="glossary.html#regex">$B@55,I=8=(B</a>$B$r;HMQ$G$-$^$9!#$7$+$7!"<!$N@_Dj$N%^!<%8$KL\$rDL$7$F!"(B
  211. regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"%G%#%l%/%F%#%V$NE,MQ$,$I$N$h$&$K(B
  212. $BJQ2=$9$k$+GD0.$7$F$*$$$F$/$@$5$$!#(B</p>
  213.  
  214. <p>$BA4%f!<%6%G%#%l%/%H%j$N@_Dj$rJQ99$9$k!"Hs(B regex
  215. $B%o%$%k%I%+!<%I%;%/%7%g%s$O<!$N$h$&$K$J$j$^$9!#(B</p>
  216.  
  217. <div class="example"><p><code>
  218. <Directory /home/*/public_html><br />
  219. Options Indexes<br />
  220. </Directory>
  221. </code></p></div>
  222.  
  223. <p>regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"2hA|%U%!%$%k$NB?$/$N%?%$%W$KBP$9$k(B
  224. $B%"%/%;%9$r0lEY$K5qH]$G$-$^$9!#(B</p>
  225. <div class="example"><p><code>
  226. <FilesMatch \.(?i:gif|jpe?g|png)$><br />
  227. Order allow,deny<br />
  228. Deny from all<br />
  229. </FilesMatch>
  230. </code></p></div>
  231.  
  232.  
  233.  
  234. <h3><a name="whichwhen" id="whichwhen">$B$$$D2?$r;H$&$+(B</a></h3>
  235.  
  236. <p>$B%U%!%$%k%7%9%F%`%3%s%F%J$H%&%'%V6u4V%3%s%F%J$r;H$$J,$1$k$N$O!"(B
  237. $B<B:]$K$OHs>o$K4JC1$G$9!#%U%!%$%k%7%9%F%`$K0MB8$9$k(B
  238. $B%*%V(B$B%8%'%/%H$K%G%#%l%/%F%#%V$rE,1~$9$k>l9g$O!"I,$:(B
  239. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B$+(B
  240. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>
  241. $B$r;HMQ$7$^$9!#%U%!%$%k%7%9%F%`$K0MB8$7$J$$%*%V%8%'%/%H(B
  242. ($B%G!<%?%Y!<%9$+$i@8@.$5$l$k%&%'%V%Z!<%8$J$I(B) 
  243. $B$K%G%#%l%/%F%#%V$rE,MQ$9$k:]$K$O!"(B
  244. <code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  245. $B$r;HMQ$7$^$9!#(B</p>
  246.  
  247. <p>$B%U%!%$%k%7%9%F%`>e$N%*%V%8%'%/%H$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B
  248. <code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  249. $B$r7h$7$F;HMQ$J$$$h$&$K$7$^$7$g$&!#(B
  250. $BF10l$N%U%!%$%k%7%9%F%`0LCV$K%^%C%W$7$F$$$k!"%&%'%V6u4V0LCV(B (URL)
  251. $B$,B??t$"$C$F!"@_Dj$7$?@)8B$r1*2s$5$l$F$7$^$&$+$b$7$l$J$$$+$i$G$9!#(B
  252. $BNc$($P<!$N@_Dj$r9M$($F$_$^$7$g$&!#(B</p>
  253.  
  254. <div class="example"><p><code>
  255. <Location /dir/><br />
  256. Order allow,deny<br />
  257. Deny from all<br />
  258. </Location>
  259. </code></p></div>
  260.  
  261. <p><code>http://yoursite.example.com/dir/</code>
  262. $B$X$N%j%/%(%9%H$G$O>e<j$/F0:n$7$^$9!#$7$+$7BgJ8;z>.J8;z$r6hJL$7$J$$(B
  263. $B%U%!%$%k%7%9%F%`$r;H$C$F$$$?$i$I$&$J$k$G$7$g$&(B?
  264. <code>http://yoursite.example.com/DIR/</code> 
  265. $B$X$N%j%/%(%9%H$G4JC1$K%"%/%;%9@)8B$r1*2s$5$l$F$7$^$$$^$9!#$3$l$KBP$7$F(B
  266. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  267. $B%G%#%l%/%F%#%V$r;HMQ$9$k$H!"$I$N$h$&$K8F$S=P$5$l$?$+$K4X$o$i$:(B
  268. $B$=$N>l=j$+$iDs6!$5$l$kFbMF$KE,MQ$5$l$^$9!#(B
  269. ($BNc30$O%U%!%$%k%7%9%F%`$N%j%s%/$G$9!#%7%s%\%j%C%/%j%s%/$r;H$C$F!"(B
  270. $BF10l$N%G%#%l%/%H%j$rJ#?t$N%U%!%$%k%7%9%F%`$K@_CV$G$-$^$9!#(B
  271. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  272. $B%G%#%l%/%F%#%V$O%Q%9L>$r%j%;%C%H$9$k$3$H$J$/%7%s%\%j%C%/%j%s%/$r(B
  273. $BC)$j$^$9!#$G$9$+$i!"9bEY$J%;%-%e%j%F%#$,MW5a$5$l$k>l9g$O!"(B
  274. $BE,@Z$K(B <code class="directive"><a href="./mod/core.html#options">Options</a></code> 
  275. $B%G%#%l%/%F%#%V$r;HMQ$7$F%7%s%\%j%C%/%j%s%/$rL58z$K$9$k$Y$-$G$9!#(B)</p>
  276.  
  277. <p>$BBgJ8;z>.J8;z$r6hJL$9$k%U%!%$%k%7%9%F%`$r;HMQ$7$F$$$k$+$i>e5-$N$3$H$O(B
  278. $BL54X78$@$H;W$o$l$k$+$b$7$l$^$;$s$,!"(B
  279. $BF10l$N%U%!%$%k%7%9%F%`0LCV$KJ#?t$N%&%'%V6u4V0LCV$r%^%C%W$9$kJ}K!$O!"(B
  280. $BB>$K$$$/$i$G$b$"$k$H$$$&$3$H$r3P$($F$$$F$/$@$5$$!#(B
  281. $B$G$9$+$i$G$-$k8B$j%U%!%$%k%7%9%F%`%3%s%F%J$r;HMQ$7$F$/$@$5$$!#(B
  282. $B$7$+$7$J$,$i0l$D$@$1Nc30$,$"$j$^$9!#(B
  283. <code><Location /></code> $B%;%/%7%g%s$O$I$s$J(B URL 
  284. $B$K$b4X$o$i$:E,MQ$5$l$k$N$G!"$=$3$K%"%/%;%9$r@)8B$9$k%G%#%l%/%F%#%V$r(B
  285. $B5o$l$k$3$H$O40A4$K0BA4$G$9!#(B</p>
  286.  
  287.  
  288. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  289. <div class="section">
  290. <h2><a name="virtualhost" id="virtualhost">$B%P!<%A%c%k%[%9%H(B</a></h2>
  291.  
  292. <p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
  293. $B%3(B$B%s%F%J$OFCDj$N%[%9%H$KE,MQ$9$k%G%#%l%/%F%#%V$r3JG<$7$^$9!#(B
  294. $B0lBf$N%^%7%s$GJ#?t$N%[%9%H$r0[$J$k@_Dj$GDs6!$7$?$$$H$-$KM-MQ$G$9!#(B
  295. $B>\:Y$K4X$7$F$O(B<a href="vhosts/">$B%P!<%A%c%k%[%9%H%I%-%e%a%s%H(B</a>$B$r(B
  296. $B$4Mw2<$5$$!#(B</p>
  297. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  298. <div class="section">
  299. <h2><a name="proxy" id="proxy">$B%W%m%/%7(B</a></h2>
  300.  
  301. <p><code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code>
  302. $B$H(B <code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code>
  303. $B%3%s%F%J$O!"(B<code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code>
  304. $B%W%m%/%7%5!<%P$r7PM3$7$F%"%/%;%9$5$l$kFCDj$N(B URL $B$K%^%C%A$9$k%5%$%H$K(B
  305. $BBP$7$F$N$_E,MQ$5$l$k(B
  306. $B@_Dj%G%#%l%/%F%#%V$r3JG<$7$^$9!#Nc$($P<!$N@_Dj$O!"%W%m%-%7%5!<%P$,(B
  307. <code>cnn.com</code> $B%&%'%V%5%$%H$r%"%/%;%9$9$k$?$a$K$O;H$($J$$$h$&$K$7$^$9!#(B</p>
  308.  
  309. <div class="example"><p><code>
  310. <Proxy http://cnn.com/*><br />
  311. Order allow,deny<br />
  312. Deny from all<br />
  313. </Proxy>
  314. </code></p></div>
  315. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  316. <div class="section">
  317. <h2><a name="whatwhere" id="whatwhere">$B$I$N%G%#%l%/%F%#%V$,;H$($k$N(B?</a></h2>
  318.  
  319. <p>$B$I$N%?%$%W$N@_Dj%;%/%7%g%s$G$I$N%G%#%l%/%F%#%V$,;HMQ$G$-$k$+$O!"(B
  320. $B%G%#%l%/%F%#%V$N(B <a href="mod/directive-dict.html#Context">Context</a>
  321. $B$r8+$F$/$@$5$$!#(B
  322. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  323. $B$G;HMQ2DG=$J$b$N$OA4$F!"F1MM$K(B
  324. <code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>,
  325. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>,
  326. <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>,
  327. <code class="directive"><a href="./mod/core.html#location"><Location></a></code>,
  328. <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>,
  329. <code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code>,
  330. <code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code>
  331. $B%;%/%7%g%s$G;HMQ2DG=$G$9!#$7$+$7$J$,$i4v$D$+Nc30$bB8:_$7$^$9!#(B</p>
  332.  
  333. <ul>
  334. <li><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> $B%G%#%l%/%F%#%V$O(B
  335. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  336. $B%;%/%7%g%s$G$N$_;HMQ2DG=$G$9!#(B</li>
  337.  
  338. <li><code>FollowSymLinks</code> $B$H(B <code>SymLinksIfOwnerMatch</code> $B$N(B
  339. <code class="directive"><a href="./mod/core.html#options">Options</a></code> $B$O!"(B
  340. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  341. $B%;%/%7%g%s$+(B <code>.htaccess</code> $B%U%!%$%k$G$N$_;HMQ2DG=$G$9!#(B</li>
  342.  
  343. <li><code class="directive"><a href="./mod/core.html#options">Options</a></code> $B%G%#%l%/%F%#%V$O!"(B
  344. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>
  345. $B$H(B <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>
  346. $B%;%/%7%g%s$G$O;HMQ$G$-$^$;$s!#(B</li>
  347. </ul>
  348. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  349. <div class="section">
  350. <h2><a name="mergin" id="mergin">$B%;%/%7%g%s$N%^!<%8J}K!(B</a></h2>
  351.  
  352.     <p>$B%^!<%8$N=gHV$O0J2<$N$h$&$K$J$C$F$$$^$9(B:</p>
  353.  
  354.     <ol>
  355.       <li><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ($B@55,I=8=L5$7(B) $B$H(B
  356.       .htaccess $B$rF1;~$K(B (.htaccess $B$,5v2D$5$l$F$$$l$P!"$=$l$,(B
  357.       <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B$r>e=q$-$7$^$9(B)
  358.       </li>
  359.  
  360.       <li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>
  361.       ($B$H(B <code><Directory ~></code></li>
  362.  
  363.       <li><code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B$H(B
  364.       <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code> $B$rF1;~$K(B</li>
  365.  
  366.       <li><code class="directive"><a href="./mod/core.html#location"><Location></a></code> $B$H(B
  367.       <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code> $B$rF1;~$K(B</li>
  368.     </ol>
  369.  
  370.     <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  371.     $B0J30$O!"$=$l$>$l$N%0%k!<%W$O@_Dj%U%!%$%k$K8=$l$?=gHV$K=hM}$5$l$^$9!#(B
  372.     <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ($B>e$N%0%k!<%W(B 1)
  373.     $B$O%G%#%l%/%H%j$,C;$$$b$N$+$iD9$$$b$N$X$H=hM}$5$l$^$9!#$G$9$+$i!"(B
  374.     $BNc$($P(B <code><Directory /var/web/dir1></code> $B$O(B
  375.     <code><Directory /var/web/dir/subdir></code> $B$NA0$K=hM}$5$l$^$9!#J#?t$N(B
  376.     <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$,(B
  377.     $BF1$8%G%#%l%/%H%j$K(B
  378.     $BE,MQ$5$l$k>l9g$O!"@_Dj%U%!%$%kCf$N=gHV$K=>$C$F=hM}$5$l$^$9!#(B
  379.     <code class="directive"><a href="./mod/core.html#include">Include</a></code>
  380.     $B$K$h$C$FA^F~$5$l$?@_Dj$O(B $BA^F~$7$F$$$k%U%!%$%k$N(B
  381.     <code class="directive"><a href="./mod/core.html#include">Include</a></code>
  382.     $B%G%#%l%/%F%#%V$N0LCV$K$"$C$?$+$N$h$&$K07$o$l$^$9!#(B</p>
  383.  
  384.     <p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> $B%;%/%7%g%sCf$N%;%/%7%g%s$O(B
  385.     $B%P!<%A%c%k%[%9%H$NDj5A$N30B&$NBP1~$9$k%;%/%7%g%s$N(B
  386.     <em>$B8e(B</em>$B$KE,MQ$5$l$^$9!#$3$l$K$h$j%P!<%A%c%k%[%9%H$,(B
  387.     $B%a%$%s$N%5!<%P@_Dj$r>e=q$-$G$-$k$h$&$J$j$^$9!#(B</p>
  388.  
  389.     <p>$B8e$N%;%/%7%g%s$N%G%#%l%/%F%#%V$,A0$N%;%/%7%g%s$N$b$N$r>e=q$-$7$^$9!#(B</p>
  390.  
  391.  
  392. <div class="note"><h3>$B5;=Q%a%b(B</h3>
  393.       $B<B:]$K$O!"L>A0$rJQ49$9$kCJ3,(B (URL
  394.       $B$r%U%!%$%kL>$K%^%C%W$9$k$?$a$K(B <code>Alias</code> $B$d(B
  395.       <code>DocumentRoot</code> $B$,;HMQ$5$l$k$H$3$m(B) $B$ND>A0$K(B
  396.       <code class="directive"><a href="./mod/core.html#location"><Location></a></code>/<code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>
  397.       $B$,9T$J$o$l$^$9!#(B
  398.       $B$3$l$i$rE,MQ$7$?7k2L$OJQ49$,=*$o$C$?8e$K40A4$K<N$F$i$l$^$9!#(B
  399. </div>
  400. <h3><a name="merge-examples" id="merge-examples">$BNc(B</a></h3>
  401.  
  402. <p>$B<!$O%^!<%8$N=gHV$r<($9$?$a$NWs0UE*$JNc$K$J$C$F$$$^$9!#(B
  403. $B%j%/%(%9%HA4$F$KE,MQ$5$l$k$H$7$F!"K\Nc$N%G%#%l%/%F%#%V$O(B
  404. A > B > C > D > E $B$N=gHV$KE,MQ$5$l$^$9!#(B</p>
  405.  
  406. <div class="example"><p><code>
  407. <Location /><br />
  408. E<br />
  409. </Location><br />
  410. <br />
  411. <Files f.html><br />
  412. D<br />
  413. </Files><br />
  414. <br />
  415. <VirtualHost *><br />
  416. <Directory /a/b><br />
  417. B<br />
  418. </Directory><br />
  419. </VirtualHost><br />
  420. <br />
  421. <DirectoryMatch "^.*b$"><br />
  422. C<br />
  423. </DirectoryMatch><br />
  424. <br />
  425. <Directory /a/b><br />
  426. A<br />
  427. </Directory><br />
  428. <br />
  429. </code></p></div>
  430.  
  431. <p>$B$b$C$H6qBNE*$J!"<!$NNc$r9M$($F$_$^$7$g$&!#(B
  432. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> 
  433. $B%;%/%7%g%s$K@_CV$5$l$?(B$B%"%/%;%9@)8B$K4X$o$i$:!"(B
  434. <code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  435. $B%;%/%7%g%s$,:G8e$KI>2A$5$l$F!"%5!<%P$X$N%"%/%;%9$O@)8B$5$l$^$;$s!#(B
  436. $B$D$^$j!"%^!<%8$N=gHV$O=EMW$G$9$N$G!"Cm0U$7$F;HMQ$7$F$/$@$5$$(B!</p>
  437.  
  438. <div class="example"><p><code>
  439. <Location /><br />
  440. Order deny,allow<br />
  441. Allow from all<br />
  442. </Location><br />
  443. <br />
  444. # Woops!  This <Directory> section will have no effect<br />
  445. <Directory /><br />
  446. Order allow,deny<br />
  447. Allow from all<br />
  448. Deny from badguy.example.com<br />
  449. </Directory>
  450. </code></p></div>
  451.  
  452.  
  453.  
  454. </div></div>
  455. <div class="bottomlang">
  456. <p><span>Available Languages: </span><a href="./en/sections.html" hreflang="en" rel="alternate" title="English"> en </a> |
  457. <a href="./ja/sections.html" title="Japanese"> ja </a> |
  458. <a href="./ko/sections.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  459. </div><div id="footer">
  460. <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
  461. <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>
  462. </body></html>