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