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