diff options
author | André Malo <nd@apache.org> | 2003-04-16 02:36:15 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2003-04-16 02:36:15 +0200 |
commit | aed16e9114f537eabfce3508921def448b81782c (patch) | |
tree | 287ba5d81941da6c932fc2c665b8f4da1376d7a8 /docs/manual | |
parent | fix some discrepancies between format strings and arguments, (diff) | |
download | apache2-aed16e9114f537eabfce3508921def448b81782c.tar.xz apache2-aed16e9114f537eabfce3508921def448b81782c.zip |
obtained from 2.0 branch (do not differ)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99379 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/sections.html.ja.jis | 541 | ||||
-rw-r--r-- | docs/manual/sections.xml.ja | 458 | ||||
-rw-r--r-- | docs/manual/sections.xml.meta | 2 |
3 files changed, 880 insertions, 121 deletions
diff --git a/docs/manual/sections.html.ja.jis b/docs/manual/sections.html.ja.jis index a6d73cc71e..3d5b4f3fe1 100644 --- a/docs/manual/sections.html.ja.jis +++ b/docs/manual/sections.html.ja.jis @@ -1,151 +1,452 @@ <?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>How Directory, Location and Files sections work</title> - - </head> - <!-- English revision: 1.14 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <!--#include virtual="header.html" --> - - <h1 align="center">Directory, Location, Files - $B%;%/%7%g%s$NF0:nJ}K!(B</h1> - - <p>$B%;%/%7%g%s(B <a - href="mod/core.html#directory"><code><Directory></code></a>, - <a - href="mod/core.html#location"><code><Location></code></a>, <a - href="mod/core.html#files"><code><Files></code></a> - $B$K$O!"$=$l$>$l;XDj$5$l$?%G%#%l%/%H%j!"(BURL, - $B%U%!%$%k$K$N$_E,MQ$5$l$k%G%#%l%/%F%#%V$r=q$/$3$H$,$G$-$^$9!#(B - $B$^$?!"%G%#%l%/%H%j$K%G%#%l%/%F%#%V$rE,MQ$9$k$?$a$K%G%#%l%/%H%jCf$K(B - .htaccess $B%U%!%$%k$r;HMQ$9$k$3$H$b$G$-$^$9!#$3$N%I%-%e%a%s%H$O(B - $B$3$l$i$N%;%/%7%g%s$N0c$$$r@bL@$7!"$=$l$i$H!"%G%#%l%/%H%j$d(B - $B%j%/%(%9%H$5$l$?(B URL $B$K(B Apache $B$,$I$N%G%#%l%/%F%#%V$r(B - $BE,MQ$9$k$+$r7hDj$9$kJ}K!$H$N4X78$r@bL@$7$^$9!#(B</p> - - <h2>$B%;%/%7%g%sCf$K5v2D$5$l$F$$$k%G%#%l%/%F%#%V(B</h2> - - <p>$B9=J8>e(B <code><Directory></code> - $B$K=q$1$k$b$N$O$9$Y$F(B <code><Location></code> - $B$K$b=q$/$3$H$,$G$-$^$9(B (<code><Files></code> - $B%;%/%7%g%s$ONc30$G$9(B)$B!#$7$+$7!"Cf$K$O(B - <code>AllowOverride</code> $B$d(B <code>FollowSymLinks</code> - $B$H(B <code>SymLinksIfOwnerMatch</code> - $B$H$$$&Fs$D$N%*%W%7%g%s$N$h$&$K!"(B<code><Location></code>, - <code><LocationMatch></code>, - <code><DirectoryMatch></code> $BCf$G$O0UL#$N$J$$$b$N$b$"$j$^$9!#(B - $BF1MM$N$3$H$,(B <code><Files></code> - $B$K$b8@$($^$9!#9=J8E*$K$O$9$Y$FBg>fIW$G$9$,!"(B - $B0UL#E*$K$O$=$&$G$J$$$b$N$b$"$j$^$9!#(B</p> - - <h2>$B%;%/%7%g%s$N%^!<%8J}K!(B</h2> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>$B%;%/%7%g%s$N@_Dj(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.1</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.1</a></div><div id="page-content"><div id="preamble"><h1>$B%;%/%7%g%s$N@_Dj(B</h1> <p><a href="configuring.html">$B@_Dj%U%!%$%k(B</a>$BCf$N%G%#%l%/%F%#%V$O(B +$B%5!<%PA4BN$KE,MQ$5$l$?$j!"FCDj$N%G%#%l%/%H%j$d%U%!%$%k!"%[%9%H!"(BURL $B$K$N$_(B +$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 +$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 +$B%9%3!<%W$rJQ99$9$kJ}K!$r@bL@$7$^$9!#(B</p> +</div> +<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> +<li><img alt="" src="./images/down.gif" /> <a href="#file-and-web">$B%U%!%$%k%7%9%F%`$H%&%'%V6u4V(B</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">$B%P!<%A%c%k%[%9%H(B</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#proxy">$B%W%m%/%7(B</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#whatwhere">$B$I$N%G%#%l%/%F%#%V$,;H$($k$N(B?</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#mergin">$B%;%/%7%g%s$N%^!<%8J}K!(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="types" id="types">$B@_DjMQ%;%/%7%g%s%3%s%F%J$N<oN`(B</a></h2> + +<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> + +<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 +$B3F%j%/%(%9%H$KBP$7$FI>2A$5$l$^$9!#$=$N>l9g!"%3%s%F%JCf$N%G%#%l%/%F%#%V$O(B +$B%3%s%F%J$K%^%C%A$9$k%j%/%(%9%H$K$N$_E,MQ$5$l$^$9!#(B +$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 +$B%5!<%P$N5/F0;~$H:F5/F0;~$K$N$_I>2A$5$l$^$9!#5/F0;~$K>r7o$,??$G$"$l$P!"(B +$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 +$B56$G$"$l$P!"%3%s%F%JCf$N%G%#%l%/%F%#%V$OL5;k$5$l$^$9!#(B</p> + +<p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code> $B%G%#%l%/%F%#%V$O(B +<code>httpd</code> $B%3%^%s%I%i%$%s$GE,@Z$J%Q%i%a!<%?$,Dj5A$5$l$?$H$-$K$N$_(B +$BE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$$$^$9!#Nc$($P<!$N@_Dj$G$O!"%5!<%P$,(B +<code>httpd -DClosedForNow</code> $B$r;H$C$F5/F0$5$l$?$H$-$@$1$9$Y$F$N(B +$B%j%/%(%9%H$rJL$N%5%$%H$K%j%@%$%l%/%H$7$^$9(B:</p> + +<div class="example"><p><code> +<IfDefine ClosedForNow><br /> +Redirect / http://otherserver.example.com/<br /> +</IfDefine> +</code></p></div> + +<p><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code> $B$O(B +$BHs>o$K;w$F$$$^$9$,!"Be$o$j$K%5!<%P>e$G%b%8%e!<%k$,;HMQ2DG=$J>l9g$K$N$_(B +$BE,MQ2DG=$J%G%#%l%/%F%#%V$r0O$$$^$9!#%b%8%e!<%k$O%5!<%P$K(B +$B@EE*$KAH$_9~$^$l$F$$$k$+!"F0E*$KAH$_9~$`$h$&$K$J$C$F$$$F!"@_Dj%U%!%$%kCf$G(B +<code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code> $B$N9T$,$h$jA0$N(B +$BItJ,$K=q$+$l$F$$$kI,MW$,$"$j$^$9!#$3$N%G%#%l%/%F%#%V$OFCDj$N%b%8%e!<%k$N(B +$BB8:_$K4X$o$i$:@_Dj%U%!%$%k$,F0:n$9$kI,MW$,$"$k>l9g$K$N$_;H$C$F$/$@$5$$!#(B +$B>o$KF0:n$7$FM_$7$$%G%#%l%/%F%#%V$r0O$`$?$a$K;H$&$Y$-$G$O$"$j$^$;$s!#(B +$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 +</p> + +<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 +$BE,MQ$5$l$^$9!#(B</p> + +<div class="example"><p><code> +<IfModule mod_mime_magic.c><br /> +MimeMagicFile conf/magic<br /> +</IfModule> +</code></p></div> + +<p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code> $B%G%#%l%/%F%#%V$H(B +<code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code> $B%G%#%l%/%F%#%V$O(B +$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 +$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 +</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="file-and-web" id="file-and-web">$B%U%!%$%k%7%9%F%`$H%&%'%V6u4V(B</a></h2> + +<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 +$BFCDj$N>l=j$N@_Dj$rJQ99$9$k$b$N$G$9!#$^$:!"$3$NFs$D$N0c$$$rM}2r$9$k$3$H$,(B +$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 +$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 +<code>/usr/local/apache2</code> $B$K!"(BWindows $B%U%!%$%k%7%9%F%`$G$O(B +<code>"c:/Program Files/Apache Group/Apache2"</code> $B$KB8:_$7$^$9!#(B +(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 +$B5$$r$D$1$F$/$@$5$$!#(B) $BBP>HE*$K!"%&%'%V6u4V$O$"$J$?$N%5%$%H$r(B +$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 +$B%G%U%)%k%H$N(B Unix $B>e$N(B Apache $B$N%$%s%9%H!<%k$G$O%&%'%V6u4V$N(B +<code>/dir/</code> $B$H$$$&%Q%9$O%U%!%$%k%7%9%F%`$N(B +<code>/usr/local/apache2/htdocs/dir/</code> $B$H$$$&%Q%9$KBP1~$7$^$9!#(B +$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 +$B%&%'%V6u4V$O%U%!%$%k%7%9%F%`$KD>@\%^%C%W$9$kI,MW$O$"$j$^$;$s!#(B</p> + +<h3><a name="filesystem" id="filesystem">$B%U%!%$%k%7%9%F%`%3%s%F%J(B</a></h3> + +<p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%G%#%l%/%F%#%V$H(B +<code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B%G%#%l%/%F%#%V!"$=$l$H(B +$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 +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$N(B +$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 +$BE,MQ$5$l$^$9!#(B<a href="howto/htaccess.html">.htaccess $B%U%!%$%k(B</a>$B$r(B +$B;H$&$3$H$G$bF1$88z2L$rF@$k$3$H$,$G$-$^$9!#Nc$($P!"<!$N@_Dj$G$O(B +<code>/var/web/dir1</code> $B$H$9$Y$F$N%5%V%G%#%l%/%H%j$KBP$7$F(B +$B%G%#%l%/%H%j%$%s%G%C%/%9$r9T$J$$$^$9!#(B</p> + +<div class="example"><p><code> +<Directory /var/web/dir1><br /> +Options +Indexes<br /> +</Directory> +</code></p></div> + +<p><code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B%;%/%7%g%s$N(B +$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 +$B$9$Y$F$N%U%!%$%k$KE,MQ$5$l$^$9!#$G$9$+$iNc$($P0J2<$N@_Dj%G%#%l%/%F%#%V$,(B +$B@_Dj%U%!%$%k$N<g%;%/%7%g%s$K=q$+$l$?$H$-$K$O!"$9$Y$F$N>l=j$N(B +<code>private.html</code> $B$H$$$&L>A0$N%U%!%$%k$X$N%"%/%;%9$r5qH]$7$^$9!#(B</p> + +<div class="example"><p><code> +<Files private.html><br /> +Order allow,deny<br /> +Deny from all<br /> +</Files> +</code></p></div> + +<p>$B%U%!%$%k%7%9%F%`$NFCDj$N>l=j$K$"$k%U%!%$%k$r;XDj$9$k$?$a$K!"(B +<code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B%;%/%7%g%s$H(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$r(B +$BAH$_9g$o$;$k$3$H$,$G$-$^$9!#Nc$($P!"<!$N@_Dj$G$O(B +<code>/var/web/dir1/private.html</code>, +<code>/var/web/dir1/subdir2/private.html</code>, +<code>/var/web/dir1/subdir3/private.html</code> $B$J$I!"(B +<code>/var/web/dir1/</code> $B%G%#%l%/%H%j$N2<$K$"$k$9$Y$F$N(B +<code>private.html</code> $B$X$N%"%/%;%9$r5qH]$7$^$9!#(B</p> + +<div class="example"><p><code> +<Directory /var/web/dir1><br /> +<Files private.html><br /> +Order allow,deny<br /> +Deny from all<br /> +</Files><br /> +</Directory> +</code></p></div> + + +<h3><a name="webspace" id="webspace">$B%&%'%V6u4V%3%s%F%J(B</a></h3> + +<p>$B0lJ}!"(B<code class="directive"><a href="./mod/core.html#location"><Location></a></code> +$B%G%#%l%/%F%#%V$H$=$N@55,I=8=HG$O%&%'%V6u4V>e$NFbMF$KBP$7$F@_Dj$rJQ99$7$^$9!#(B +$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 +$B6qBNE*$K$O!"(B +<code>http://yoursite.example.com/private</code>, +<code>http://yoursite.example.com/private123</code>, +<code>http://yoursite.example.com/private/dir/file.html</code> +$B$X$N%j%/%(%9%H$d!"(B +$BB>$NF1MM$K(B <code>/private</code> $BJ8;zNs$G;O$^$k%j%/%(%9%H$K(B +$BE,MQ$5$l$^$9!#(B</p> + +<div class="example"><p><code> +<Location /private><br /> +Order Allow,Deny<br /> +Deny from all<br /> +</Location> +</code></p></div> + +<p><code class="directive"><a href="./mod/core.html#location"><Location></a></code> +$B%G%#%l%/%F%#%V$O%U%!%$%k%7%9%F%`$H4X78$"$kI,MW$,A4$/$"$j$^$;$s!#(B +$B$?$H$($P<!$NNc$G$O!"$I$N$h$&$K$7$FFCDj$N(B URL $B$r(B +<code class="module"><a href="./mod/mod_status.html">mod_status</a></code>$B$GDs6!$5$l$F$$$k(B Apache +$BFbIt%O%s%I%i$K%^%C%W$9$k$+$r<($7$F$$$^$9!#%U%!%$%k%7%9%F%`$K(B +<code>server-status</code> $B$H$$$&%U%!%$%k$,B8:_$9$kI,MW$O$"$j$^$;$s!#(B</p> + +<div class="example"><p><code> +<Location /server-status><br /> +SetHandler server-status<br /> +</Location> +</code></p></div> + + +<h3><a name="wildcards" id="wildcards">$B%o%$%k%I%+!<%I$H@55,I=8=(B</a></h3> + +<p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>, +<code class="directive"><a href="./mod/core.html#files"><Files></a></code>, +<code class="directive"><a href="./mod/core.html#location"><Location></a></code> +$B%G%#%l%/%F%#%V$G$O!"(B C $BI8=`%i%$%V%i%j$N(B <code>fnmatch</code> $B$N$h$&$K(B +shell $B%9%?%$%k$N%o%$%k%I%+!<%I%-%c%i%/%?$,;HMQ$G$-$^$9!#(B +"*" $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 +"[<em>seq</em>]" $B$O(B <em>seq</em> $B$NG$0U$NJ8;z$K%^%C%A$7$^$9!#(B +"/" $BJ8;z$O$I$N%o%$%k%I%+!<%I$G$b%^%C%A$5$l$^$;$s!#(B +$BL@<(E*$K;XDj$9$kI,MW$,$"$j$^$9!#(B</p> + +<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 +(regex) $BHG$G$"$k(B +<code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, +<code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, +<code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code> +$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 +regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"%G%#%l%/%F%#%V$NE,MQ$,$I$N$h$&$K(B +$BJQ2=$9$k$+GD0.$7$F$*$$$F$/$@$5$$!#(B</p> + +<p>$BA4%f!<%6%G%#%l%/%H%j$N@_Dj$rJQ99$9$k!"Hs(B regex +$B%o%$%k%I%+!<%I%;%/%7%g%s$O<!$N$h$&$K$J$j$^$9!#(B</p> + +<div class="example"><p><code> +<Directory /home/*/public_html><br /> +Options Indexes<br /> +</Directory> +</code></p></div> + +<p>regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"2hA|%U%!%$%k$NB?$/$N%?%$%W$KBP$9$k(B +$B%"%/%;%9$r0lEY$K5qH]$G$-$^$9!#(B</p> +<div class="example"><p><code> +<FilesMatch \.(?i:gif|jpe?g|png)$><br /> +Order allow,deny<br /> +Deny from all<br /> +</FilesMatch> +</code></p></div> + + + +<h3><a name="whichwhen" id="whichwhen">$B$$$D2?$r;H$&$+(B</a></h3> + +<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 +$B<B:]$K$OHs>o$K4JC1$G$9!#%U%!%$%k%7%9%F%`$K0MB8$9$k(B +$B%*%V%8%'%/%H$K%G%#%l%/%F%#%V$rE,1~$9$k>l9g$O!"I,$:(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B$+(B +<code class="directive"><a href="./mod/core.html#files"><Files></a></code> +$B$r;HMQ$7$^$9!#%U%!%$%k%7%9%F%`$K0MB8$7$J$$%*%V%8%'%/%H(B +($B%G!<%?%Y!<%9$+$i@8@.$5$l$k%&%'%V%Z!<%8$J$I(B) +$B$K%G%#%l%/%F%#%V$rE,MQ$9$k:]$K$O!"(B +<code class="directive"><a href="./mod/core.html#location"><Location></a></code> +$B$r;HMQ$7$^$9!#(B</p> + +<p>$B%U%!%$%k%7%9%F%`>e$N%*%V%8%'%/%H$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B +<code class="directive"><a href="./mod/core.html#location"><Location></a></code> +$B$r7h$7$F;HMQ$J$$$h$&$K$7$^$7$g$&!#(B +$BF10l$N%U%!%$%k%7%9%F%`0LCV$K%^%C%W$7$F$$$k!"%&%'%V6u4V0LCV(B (URL) +$B$,B??t$"$C$F!"@_Dj$7$?@)8B$r1*2s$5$l$F$7$^$&$+$b$7$l$J$$$+$i$G$9!#(B +$BNc$($P<!$N@_Dj$r9M$($F$_$^$7$g$&!#(B</p> + +<div class="example"><p><code> +<Location /dir/><br /> +Order allow,deny<br /> +Deny from all<br /> +</Location> +</code></p></div> + +<p><code>http://yoursite.example.com/dir/</code> +$B$X$N%j%/%(%9%H$G$O>e<j$/F0:n$7$^$9!#$7$+$7BgJ8;z>.J8;z$r6hJL$7$J$$(B +$B%U%!%$%k%7%9%F%`$r;H$C$F$$$?$i$I$&$J$k$G$7$g$&(B? +<code>http://yoursite.example.com/DIR/</code> +$B$X$N%j%/%(%9%H$G4JC1$K%"%/%;%9@)8B$r1*2s$5$l$F$7$^$$$^$9!#$3$l$KBP$7$F(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> +$B%G%#%l%/%F%#%V$r;HMQ$9$k$H!"$I$N$h$&$K8F$S=P$5$l$?$+$K4X$o$i$:(B +$B$=$N>l=j$+$iDs6!$5$l$kFbMF$KE,MQ$5$l$^$9!#(B +($BNc30$O%U%!%$%k%7%9%F%`$N%j%s%/$G$9!#%7%s%\%j%C%/%j%s%/$r;H$C$F!"(B +$BF10l$N%G%#%l%/%H%j$rJ#?t$N%U%!%$%k%7%9%F%`$K@_CV$G$-$^$9!#(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> +$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 +$BC)$j$^$9!#$G$9$+$i!"9bEY$J%;%-%e%j%F%#$,MW5a$5$l$k>l9g$O!"(B +$BE,@Z$K(B <code class="directive"><a href="./mod/core.html#options">Options</a></code> +$B%G%#%l%/%F%#%V$r;HMQ$7$F%7%s%\%j%C%/%j%s%/$rL58z$K$9$k$Y$-$G$9!#(B)</p> + +<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 +$BL54X78$@$H;W$o$l$k$+$b$7$l$^$;$s$,!"(B +$BF10l$N%U%!%$%k%7%9%F%`0LCV$KJ#?t$N%&%'%V6u4V0LCV$r%^%C%W$9$kJ}K!$O!"(B +$BB>$K$$$/$i$G$b$"$k$H$$$&$3$H$r3P$($F$$$F$/$@$5$$!#(B +$B$G$9$+$i$G$-$k8B$j%U%!%$%k%7%9%F%`%3%s%F%J$r;HMQ$7$F$/$@$5$$!#(B +$B$7$+$7$J$,$i0l$D$@$1Nc30$,$"$j$^$9!#(B +<code><Location /></code> $B%;%/%7%g%s$O$I$s$J(B URL +$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 +$B5o$l$k$3$H$O40A4$K0BA4$G$9!#(B</p> + + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="virtualhost" id="virtualhost">$B%P!<%A%c%k%[%9%H(B</a></h2> + +<p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> +$B%3%s%F%J$OFCDj$N%[%9%H$KE,MQ$9$k%G%#%l%/%F%#%V$r3JG<$7$^$9!#(B +$B0lBf$N%^%7%s$GJ#?t$N%[%9%H$r0[$J$k@_Dj$GDs6!$7$?$$$H$-$KM-MQ$G$9!#(B +$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 +$B$4Mw2<$5$$!#(B</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="proxy" id="proxy">$B%W%m%/%7(B</a></h2> + +<p><code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code> +$B$H(B <code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code> +$B%3%s%F%J$O!"(B<code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code> +$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 +$BBP$7$F$N$_E,MQ$5$l$k(B +$B@_Dj%G%#%l%/%F%#%V$r3JG<$7$^$9!#Nc$($P<!$N@_Dj$O!"%W%m%-%7%5!<%P$,(B +<code>cnn.com</code> $B%&%'%V%5%$%H$r%"%/%;%9$9$k$?$a$K$O;H$($J$$$h$&$K$7$^$9!#(B</p> + +<div class="example"><p><code> +<Proxy http://cnn.com/*><br /> +Order allow,deny<br /> +Deny from all<br /> +</Proxy> +</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="whatwhere" id="whatwhere">$B$I$N%G%#%l%/%F%#%V$,;H$($k$N(B?</a></h2> + +<p>$B$I$N%?%$%W$N@_Dj%;%/%7%g%s$G$I$N%G%#%l%/%F%#%V$,;HMQ$G$-$k$+$O!"(B +$B%G%#%l%/%F%#%V$N(B <a href="mod/directive-dict.html#Context">Context</a> +$B$r8+$F$/$@$5$$!#(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> +$B$G;HMQ2DG=$J$b$N$OA4$F!"F1MM$K(B +<code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, +<code class="directive"><a href="./mod/core.html#files"><Files></a></code>, +<code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, +<code class="directive"><a href="./mod/core.html#location"><Location></a></code>, +<code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>, +<code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code>, +<code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code> +$B%;%/%7%g%s$G;HMQ2DG=$G$9!#$7$+$7$J$,$i4v$D$+Nc30$bB8:_$7$^$9!#(B</p> + +<ul> +<li><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> $B%G%#%l%/%F%#%V$O(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> +$B%;%/%7%g%s$G$N$_;HMQ2DG=$G$9!#(B</li> + +<li><code>FollowSymLinks</code> $B$H(B <code>SymLinksIfOwnerMatch</code> $B$N(B +<code class="directive"><a href="./mod/core.html#options">Options</a></code> $B$O!"(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> +$B%;%/%7%g%s$+(B <code>.htaccess</code> $B%U%!%$%k$G$N$_;HMQ2DG=$G$9!#(B</li> + +<li><code class="directive"><a href="./mod/core.html#options">Options</a></code> $B%G%#%l%/%F%#%V$O!"(B +<code class="directive"><a href="./mod/core.html#files"><Files></a></code> +$B$H(B <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code> +$B%;%/%7%g%s$G$O;HMQ$G$-$^$;$s!#(B</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="mergin" id="mergin">$B%;%/%7%g%s$N%^!<%8J}K!(B</a></h2> <p>$B%^!<%8$N=gHV$O0J2<$N$h$&$K$J$C$F$$$^$9(B:</p> <ol> - <li><code><Directory></code> ($B@55,I=8=L5$7(B) $B$H(B + <li><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ($B@55,I=8=L5$7(B) $B$H(B .htaccess $B$rF1;~$K(B (.htaccess $B$,5v2D$5$l$F$$$l$P!"$=$l$,(B - <code><Directory></code> $B$r(B $B>e=q$-$7$^$9(B) + <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B$r>e=q$-$7$^$9(B) </li> - <li><code><DirectoryMatch></code> $B$H@55,I=8=$N$"$k(B - <code><Directory></code></li> + <li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code> + ($B$H(B <code><Directory ~></code></li> - <li><code><Files></code> $B$H(B - <code><FilesMatch></code> $B$rF1;~$K(B</li> + <li><code class="directive"><a href="./mod/core.html#files"><Files></a></code> $B$H(B + <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code> $B$rF1;~$K(B</li> - <li><code><Location></code> $B$H(B - <code><LocationMatch></code> $B$rF1;~$K(B</li> + <li><code class="directive"><a href="./mod/core.html#location"><Location></a></code> $B$H(B + <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code> $B$rF1;~$K(B</li> </ol> - <p><code><Directory></code> + <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B0J30$O!"$=$l$>$l$N%0%k!<%W$O@_Dj%U%!%$%k$K8=$l$?=gHV$K=hM}$5$l$^$9!#(B - <code><Directory></code> ($B>e$N%0%k!<%W(B 1) - $B$O%G%#%l%/%H%j$,C;$$$b$N$+$iD9$$$b$N$X$H=hM}$5$l$^$9!#J#?t$N(B - <code><Directory></code> $B%;%/%7%g%s$,F1$8%G%#%l%/%H%j$K(B + <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ($B>e$N%0%k!<%W(B 1) + $B$O%G%#%l%/%H%j$,C;$$$b$N$+$iD9$$$b$N$X$H=hM}$5$l$^$9!#$G$9$+$i!"(B + $BNc$($P(B <code><Directory /var/web/dir1></code> $B$O(B + <code><Directory /var/web/dir/subdir></code> $B$NA0$K=hM}$5$l$^$9!#J#?t$N(B + <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> $B%;%/%7%g%s$,(B + $BF1$8%G%#%l%/%H%j$K(B $BE,MQ$5$l$k>l9g$O!"@_Dj%U%!%$%kCf$N=gHV$K=>$C$F=hM}$5$l$^$9!#(B - <code>Include</code> + <code class="directive"><a href="./mod/core.html#include">Include</a></code> $B$K$h$C$FA^F~$5$l$?@_Dj$O(B $BA^F~$7$F$$$k%U%!%$%k$N(B - <code>Include</code> + <code class="directive"><a href="./mod/core.html#include">Include</a></code> $B%G%#%l%/%F%#%V$N0LCV$K$"$C$?$+$N$h$&$K07$o$l$^$9!#(B</p> - <p><code><VirtualHost></code> $B%;%/%7%g%sCf$N%;%/%7%g%s$O(B + <p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> $B%;%/%7%g%sCf$N%;%/%7%g%s$O(B $B%P!<%A%c%k%[%9%H$NDj5A$N30B&$NBP1~$9$k%;%/%7%g%s$N(B <em>$B8e(B</em>$B$KE,MQ$5$l$^$9!#$3$l$K$h$j%P!<%A%c%k%[%9%H$,(B $B%a%$%s$N%5!<%P@_Dj$r>e=q$-$G$-$k$h$&$J$j$^$9!#(B</p> <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> - <h2>$B%;%/%7%g%s$r;H$&:]$NCm0U(B</h2> - <p>$B0lHLE*$J%,%$%I%i%$%s$O(B:</p> - - <ul> - <li>$B%U%!%$%k%7%9%F%`%l%Y%k$G%*%V%8%'%/%H$N%^%C%A$r9T$J$&$H$-$O!"(B - <code><Directory></code> $B$H(B <code><Files></code> - $B$r;H$&I,MW$,$"$j$^$9!#(B</li> - - <li>URL $B%l%Y%k$G%*%V%8%'%/%H$N%^%C%A$r9T$J$&$H$-$O(B - <code><Location></code> $B$r;H$&I,MW$,$"$j$^$9!#(B</li> - </ul> - - <p>$B=EMW$JNc30$O(B:</p> - - <ul> - <li>$B%W%m%-%7$N@)8f$O(B <code><Directory></code> - $B$rDL$7$F9T$J$o$l$^$9!#$3$l$O%W%m%-%7$,(B - <code><Location></code> - $B$h$jA0$+$iB8:_$7$?$3$H$K$h$k%_%9$G$9!#>-Mh$N@_Dj8@8l$G$O$*$=$i$/(B - <code><Location></code> $B$K@Z$jBX$($i$l$k$G$7$g$&!#(B</li> - </ul> - - <p>.htaccess $B%U%!%$%k$N2r@O$K4X$9$kCm0U(B:</p> - - <ul> - <li>Location $BCf$G(B .htaccess $B$N2r@OJ}K!$rJQ99$7$F$b!"(B - $B2?$bJQ$o$j$^$;$s!#(B.htaccess $B$N2r@O$O4{$K=*$o$C$F$$$k$+$i$G$9!#(B</li> - </ul> +<div class="note"><h3>$B5;=Q%a%b(B</h3> + $B<B:]$K$O!"L>A0$rJQ49$9$kCJ3,(B (URL + $B$r%U%!%$%kL>$K%^%C%W$9$k$?$a$K(B <code>Alias</code> $B$d(B + <code>DocumentRoot</code> $B$,;HMQ$5$l$k$H$3$m(B) $B$ND>A0$K(B + <code class="directive"><a href="./mod/core.html#location"><Location></a></code>/<code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code> + $B$,9T$J$o$l$^$9!#(B + $B$3$l$i$rE,MQ$7$?7k2L$OJQ49$,=*$o$C$?8e$K40A4$K<N$F$i$l$^$9!#(B +</div> +<h3><a name="merge-examples" id="merge-examples">$BNc(B</a></h3> - <p><code><Location></code> $B$H%7%s%\%j%C%/%j%s%/(B:</p> +<p>$B<!$O%^!<%8$N=gHV$r<($9$?$a$NWs0UE*$JNc$K$J$C$F$$$^$9!#(B +$B%j%/%(%9%HA4$F$KE,MQ$5$l$k$H$7$F!"K\Nc$N%G%#%l%/%F%#%V$O(B +A > B > C > D > E $B$N=gHV$KE,MQ$5$l$^$9!#(B</p> - <ul> - <li>"<code>Options FollowSymLinks</code>" $B$d(B - "<code>Options SymLinksIfOwnerMatch</code>" $B$O(B - <code><Location></code>, - <code><LocationMatch></code>, - <code><DirectoryMatch></code> - $B%;%/%7%g%s$G$O;H$&$3$H$,$G$-$^$;$s(B - ($B$=$l$i$N%*%W%7%g%s$OC1$KL5;k$5$l$^$9(B)$B!#$=$l$i$N%*%W%7%g%s$O(B - <code><Directory></code> $B%;%/%7%g%s(B ($B$b$7$/$O(B - <code>.htaccess</code> $B%U%!%$%k(B) $B$NCf$G$N$_;HMQ2DG=$G$9!#(B</li> - </ul> +<div class="example"><p><code> +<Location /><br /> +E<br /> +</Location><br /> +<br /> +<Files f.html><br /> +D<br /> +</Files><br /> +<br /> +<VirtualHost *><br /> +<Directory /a/b><br /> +B<br /> +</Directory><br /> +</VirtualHost><br /> +<br /> +<DirectoryMatch "^.*b$"><br /> +C<br /> +</DirectoryMatch><br /> +<br /> +<Directory /a/b><br /> +A<br /> +</Directory><br /> +<br /> +</code></p></div> - <p><code><Files></code> $B$H(B <code>Options</code>:</p> +<p>$B$b$C$H6qBNE*$J!"<!$NNc$r9M$($F$_$^$7$g$&!#(B +<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> +$B%;%/%7%g%s$K@_CV$5$l$?%"%/%;%9@)8B$K4X$o$i$:!"(B +<code class="directive"><a href="./mod/core.html#location"><Location></a></code> +$B%;%/%7%g%s$,:G8e$KI>2A$5$l$F!"%5!<%P$X$N%"%/%;%9$O@)8B$5$l$^$;$s!#(B +$B$D$^$j!"%^!<%8$N=gHV$O=EMW$G$9$N$G!"Cm0U$7$F;HMQ$7$F$/$@$5$$(B!</p> - <ul> - <li>Apache $B$O$3$N>u67$O%A%'%C%/$7$^$;$s$,!"(B - <code><Files></code> $B%;%/%7%g%s$NCf$G(B <code>Options</code> - $B%G%#%l%/%F%#%V$r;HMQ$7$F$b8z2L$O$"$j$^$;$s!#(B</li> - </ul> +<div class="example"><p><code> +<Location /><br /> +Order deny,allow<br /> +Allow from all<br /> +</Location><br /> +<br /> +# Woops! This <Directory> section will have no effect<br /> +<Directory /><br /> +Order allow,deny<br /> +Allow from all<br /> +Deny from badguy.example.com<br /> +</Directory> +</code></p></div> - <p>$BB>$NCm0U(B:</p> - <ul> - <li>$B<B:]$K$O!"L>A0$rJQ49$9$kCJ3,(B (URL - $B$r%U%!%$%kL>$K%^%C%W$9$k$?$a$K(B <code>Alias</code> $B$d(B - <code>DocumentRoot</code> $B$,;HMQ$5$l$k$H$3$m(B) $B$ND>A0$K(B - <code><Location></code>/<code><LocationMatch></code> - $B$,9T$J$o$l$^$9!#(B - $B$3$l$i$rE,MQ$7$?7k2L$OJQ49$,=*$o$C$?8e$K40A4$K<N$F$i$l$^$9!#(B - </li> - </ul> - <!--#include virtual="footer.html" --> - </body> -</html> +</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>
\ No newline at end of file diff --git a/docs/manual/sections.xml.ja b/docs/manual/sections.xml.ja new file mode 100644 index 0000000000..2baa15a588 --- /dev/null +++ b/docs/manual/sections.xml.ja @@ -0,0 +1,458 @@ +<?xml version="1.0" encoding="iso-2022-jp"?> +<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd"> +<?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?> +<!-- English revision: 1.3 --> + +<manualpage metafile="sections.xml.meta"> + <relativepath href="."/> + +<title>$B%;%/%7%g%s$N@_Dj(B</title> + +<summary> <p><a href="configuring.html">$B@_Dj%U%!%$%k(B</a>$BCf$N%G%#%l%/%F%#%V$O(B +$B%5!<%PA4BN$KE,MQ$5$l$?$j!"FCDj$N%G%#%l%/%H%j$d%U%!%$%k!"%[%9%H!"(BURL $B$K$N$_(B +$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 +$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 +$B%9%3!<%W$rJQ99$9$kJ}K!$r@bL@$7$^$9!#(B</p> +</summary> + +<section id="types"><title>$B@_DjMQ%;%/%7%g%s%3%s%F%J$N<oN`(B</title> + +<related> +<modulelist> +<module>core</module> +<module>mod_proxy</module> +</modulelist> +<directivelist> +<directive type="section" module="core">Directory</directive> +<directive type="section" module="core">DirectoryMatch</directive> +<directive type="section" module="core">Files</directive> +<directive type="section" module="core">FilesMatch</directive> +<directive type="section" module="core">IfDefine</directive> +<directive type="section" module="core">IfModule</directive> +<directive type="section" module="core">Location</directive> +<directive type="section" module="core">LocationMatch</directive> +<directive type="section" module="mod_proxy">Proxy</directive> +<directive type="section" module="mod_proxy">ProxyMatch</directive> +<directive type="section" module="core">VirtualHost</directive> +</directivelist> +</related> + +<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 +$B3F%j%/%(%9%H$KBP$7$FI>2A$5$l$^$9!#$=$N>l9g!"%3%s%F%JCf$N%G%#%l%/%F%#%V$O(B +$B%3%s%F%J$K%^%C%A$9$k%j%/%(%9%H$K$N$_E,MQ$5$l$^$9!#(B +$B0lJ}!"(B<directive type="section" + module="core">IfDefine</directive> $B%3%s%F%J$H(B <directive +type="section" module="core">IfModule</directive> $B%3%s%F%J$O(B +$B%5!<%P$N5/F0;~$H:F5/F0;~$K$N$_I>2A$5$l$^$9!#5/F0;~$K>r7o$,??$G$"$l$P!"(B +$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 +$B56$G$"$l$P!"%3%s%F%JCf$N%G%#%l%/%F%#%V$OL5;k$5$l$^$9!#(B</p> + +<p><directive type="section" module="core">IfDefine</directive> $B%G%#%l%/%F%#%V$O(B +<code>httpd</code> $B%3%^%s%I%i%$%s$GE,@Z$J%Q%i%a!<%?$,Dj5A$5$l$?$H$-$K$N$_(B +$BE,MQ$5$l$k%G%#%l%/%F%#%V$r0O$$$^$9!#Nc$($P<!$N@_Dj$G$O!"%5!<%P$,(B +<code>httpd -DClosedForNow</code> $B$r;H$C$F5/F0$5$l$?$H$-$@$1$9$Y$F$N(B +$B%j%/%(%9%H$rJL$N%5%$%H$K%j%@%$%l%/%H$7$^$9(B:</p> + +<example> +<IfDefine ClosedForNow><br /> +Redirect / http://otherserver.example.com/<br /> +</IfDefine> +</example> + +<p><directive type="section" module="core">IfModule</directive> $B$O(B +$BHs>o$K;w$F$$$^$9$,!"Be$o$j$K%5!<%P>e$G%b%8%e!<%k$,;HMQ2DG=$J>l9g$K$N$_(B +$BE,MQ2DG=$J%G%#%l%/%F%#%V$r0O$$$^$9!#%b%8%e!<%k$O%5!<%P$K(B +$B@EE*$KAH$_9~$^$l$F$$$k$+!"F0E*$KAH$_9~$`$h$&$K$J$C$F$$$F!"@_Dj%U%!%$%kCf$G(B +<directive module="mod_so">LoadModule</directive> $B$N9T$,$h$jA0$N(B +$BItJ,$K=q$+$l$F$$$kI,MW$,$"$j$^$9!#$3$N%G%#%l%/%F%#%V$OFCDj$N%b%8%e!<%k$N(B +$BB8:_$K4X$o$i$:@_Dj%U%!%$%k$,F0:n$9$kI,MW$,$"$k>l9g$K$N$_;H$C$F$/$@$5$$!#(B +$B>o$KF0:n$7$FM_$7$$%G%#%l%/%F%#%V$r0O$`$?$a$K;H$&$Y$-$G$O$"$j$^$;$s!#(B +$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 +</p> + +<p>$B<!$NNc$G$O!"(B<module>mod_mime_magic</module> $B$,$"$k$H$-$K$N$_(B <directive +module="mod_mime_magic">MimeMagicFiles</directive> $B%G%#%l%/%F%#%V$,(B +$BE,MQ$5$l$^$9!#(B</p> + +<example> +<IfModule mod_mime_magic.c><br /> +MimeMagicFile conf/magic<br /> +</IfModule> +</example> + +<p><directive type="section" module="core">IfDefine</directive> $B%G%#%l%/%F%#%V$H(B +<directive type="section" module="core">IfModule</directive> $B%G%#%l%/%F%#%V$O(B +$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 +$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 +</p> +</section> + +<section id="file-and-web"><title>$B%U%!%$%k%7%9%F%`$H%&%'%V6u4V(B</title> + +<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 +$BFCDj$N>l=j$N@_Dj$rJQ99$9$k$b$N$G$9!#$^$:!"$3$NFs$D$N0c$$$rM}2r$9$k$3$H$,(B +$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 +$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 +<code>/usr/local/apache2</code> $B$K!"(BWindows $B%U%!%$%k%7%9%F%`$G$O(B +<code>"c:/Program Files/Apache Group/Apache2"</code> $B$KB8:_$7$^$9!#(B +(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 +$B5$$r$D$1$F$/$@$5$$!#(B) $BBP>HE*$K!"%&%'%V6u4V$O$"$J$?$N%5%$%H$r(B +$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 +$B%G%U%)%k%H$N(B Unix $B>e$N(B Apache $B$N%$%s%9%H!<%k$G$O%&%'%V6u4V$N(B +<code>/dir/</code> $B$H$$$&%Q%9$O%U%!%$%k%7%9%F%`$N(B +<code>/usr/local/apache2/htdocs/dir/</code> $B$H$$$&%Q%9$KBP1~$7$^$9!#(B +$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 +$B%&%'%V6u4V$O%U%!%$%k%7%9%F%`$KD>@\%^%C%W$9$kI,MW$O$"$j$^$;$s!#(B</p> + +<section id="filesystem"><title>$B%U%!%$%k%7%9%F%`%3%s%F%J(B</title> + +<p><directive type="section" module="core">Directory</directive> $B%G%#%l%/%F%#%V$H(B +<directive type="section" module="core">Files</directive> $B%G%#%l%/%F%#%V!"$=$l$H(B +$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 +<directive type="section" module="core">Directory</directive> $B%;%/%7%g%s$N(B +$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 +$BE,MQ$5$l$^$9!#(B<a href="howto/htaccess.html">.htaccess $B%U%!%$%k(B</a>$B$r(B +$B;H$&$3$H$G$bF1$88z2L$rF@$k$3$H$,$G$-$^$9!#Nc$($P!"<!$N@_Dj$G$O(B +<code>/var/web/dir1</code> $B$H$9$Y$F$N%5%V%G%#%l%/%H%j$KBP$7$F(B +$B%G%#%l%/%H%j%$%s%G%C%/%9$r9T$J$$$^$9!#(B</p> + +<example> +<Directory /var/web/dir1><br /> +Options +Indexes<br /> +</Directory> +</example> + +<p><directive type="section" module="core">Files</directive> $B%;%/%7%g%s$N(B +$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 +$B$9$Y$F$N%U%!%$%k$KE,MQ$5$l$^$9!#$G$9$+$iNc$($P0J2<$N@_Dj%G%#%l%/%F%#%V$,(B +$B@_Dj%U%!%$%k$N<g%;%/%7%g%s$K=q$+$l$?$H$-$K$O!"$9$Y$F$N>l=j$N(B +<code>private.html</code> $B$H$$$&L>A0$N%U%!%$%k$X$N%"%/%;%9$r5qH]$7$^$9!#(B</p> + +<example> +<Files private.html><br /> +Order allow,deny<br /> +Deny from all<br /> +</Files> +</example> + +<p>$B%U%!%$%k%7%9%F%`$NFCDj$N>l=j$K$"$k%U%!%$%k$r;XDj$9$k$?$a$K!"(B +<directive type="section" module="core">Files</directive> $B%;%/%7%g%s$H(B +<directive type="section" module="core">Directory</directive> $B%;%/%7%g%s$r(B +$BAH$_9g$o$;$k$3$H$,$G$-$^$9!#Nc$($P!"<!$N@_Dj$G$O(B +<code>/var/web/dir1/private.html</code>, +<code>/var/web/dir1/subdir2/private.html</code>, +<code>/var/web/dir1/subdir3/private.html</code> $B$J$I!"(B +<code>/var/web/dir1/</code> $B%G%#%l%/%H%j$N2<$K$"$k$9$Y$F$N(B +<code>private.html</code> $B$X$N%"%/%;%9$r5qH]$7$^$9!#(B</p> + +<example> +<Directory /var/web/dir1><br /> +<Files private.html><br /> +Order allow,deny<br /> +Deny from all<br /> +</Files><br /> +</Directory> +</example> +</section> + +<section id="webspace"><title>$B%&%'%V6u4V%3%s%F%J(B</title> + +<p>$B0lJ}!"(B<directive type="section" module="core">Location</directive> +$B%G%#%l%/%F%#%V$H$=$N@55,I=8=HG$O%&%'%V6u4V>e$NFbMF$KBP$7$F@_Dj$rJQ99$7$^$9!#(B +$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 +$B6qBNE*$K$O!"(B +<code>http://yoursite.example.com/private</code>, +<code>http://yoursite.example.com/private123</code>, +<code>http://yoursite.example.com/private/dir/file.html</code> +$B$X$N%j%/%(%9%H$d!"(B +$BB>$NF1MM$K(B <code>/private</code> $BJ8;zNs$G;O$^$k%j%/%(%9%H$K(B +$BE,MQ$5$l$^$9!#(B</p> + +<example> +<Location /private><br /> +Order Allow,Deny<br /> +Deny from all<br /> +</Location> +</example> + +<p><directive type="section" module="core">Location</directive> +$B%G%#%l%/%F%#%V$O%U%!%$%k%7%9%F%`$H4X78$"$kI,MW$,A4$/$"$j$^$;$s!#(B +$B$?$H$($P<!$NNc$G$O!"$I$N$h$&$K$7$FFCDj$N(B URL $B$r(B +<module>mod_status</module>$B$GDs6!$5$l$F$$$k(B Apache +$BFbIt%O%s%I%i$K%^%C%W$9$k$+$r<($7$F$$$^$9!#%U%!%$%k%7%9%F%`$K(B +<code>server-status</code> $B$H$$$&%U%!%$%k$,B8:_$9$kI,MW$O$"$j$^$;$s!#(B</p> + +<example> +<Location /server-status><br /> +SetHandler server-status<br /> +</Location> +</example> +</section> + +<section id="wildcards"><title>$B%o%$%k%I%+!<%I$H@55,I=8=(B</title> + +<p><directive type="section" module="core">Directory</directive>, +<directive type="section" module="core">Files</directive>, +<directive type="section" module="core">Location</directive> +$B%G%#%l%/%F%#%V$G$O!"(B C $BI8=`%i%$%V%i%j$N(B <code>fnmatch</code> $B$N$h$&$K(B +shell $B%9%?%$%k$N%o%$%k%I%+!<%I%-%c%i%/%?$,;HMQ$G$-$^$9!#(B +"*" $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 +"[<em>seq</em>]" $B$O(B <em>seq</em> $B$NG$0U$NJ8;z$K%^%C%A$7$^$9!#(B +"/" $BJ8;z$O$I$N%o%$%k%I%+!<%I$G$b%^%C%A$5$l$^$;$s!#(B +$BL@<(E*$K;XDj$9$kI,MW$,$"$j$^$9!#(B</p> + +<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 +(regex) $BHG$G$"$k(B +<directive type="section" module="core">DirectoryMatch</directive>, +<directive type="section" module="core">FilesMatch</directive>, +<directive type="section" module="core">LocationMatch</directive> +$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 +regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"%G%#%l%/%F%#%V$NE,MQ$,$I$N$h$&$K(B +$BJQ2=$9$k$+GD0.$7$F$*$$$F$/$@$5$$!#(B</p> + +<p>$BA4%f!<%6%G%#%l%/%H%j$N@_Dj$rJQ99$9$k!"Hs(B regex +$B%o%$%k%I%+!<%I%;%/%7%g%s$O<!$N$h$&$K$J$j$^$9!#(B</p> + +<example> +<Directory /home/*/public_html><br /> +Options Indexes<br /> +</Directory> +</example> + +<p>regex $B%;%/%7%g%s$r;HMQ$9$k$3$H$G!"2hA|%U%!%$%k$NB?$/$N%?%$%W$KBP$9$k(B +$B%"%/%;%9$r0lEY$K5qH]$G$-$^$9!#(B</p> +<example> +<FilesMatch \.(?i:gif|jpe?g|png)$><br /> +Order allow,deny<br /> +Deny from all<br /> +</FilesMatch> +</example> + +</section> + +<section id="whichwhen"><title>$B$$$D2?$r;H$&$+(B</title> + +<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 +$B<B:]$K$OHs>o$K4JC1$G$9!#%U%!%$%k%7%9%F%`$K0MB8$9$k(B +$B%*%V%8%'%/%H$K%G%#%l%/%F%#%V$rE,1~$9$k>l9g$O!"I,$:(B +<directive type="section" module="core">Directory</directive> $B$+(B +<directive type="section" module="core">Files</directive> +$B$r;HMQ$7$^$9!#%U%!%$%k%7%9%F%`$K0MB8$7$J$$%*%V%8%'%/%H(B +($B%G!<%?%Y!<%9$+$i@8@.$5$l$k%&%'%V%Z!<%8$J$I(B) +$B$K%G%#%l%/%F%#%V$rE,MQ$9$k:]$K$O!"(B +<directive type="section" module="core">Location</directive> +$B$r;HMQ$7$^$9!#(B</p> + +<p>$B%U%!%$%k%7%9%F%`>e$N%*%V%8%'%/%H$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B +<directive type="section" module="core">Location</directive> +$B$r7h$7$F;HMQ$J$$$h$&$K$7$^$7$g$&!#(B +$BF10l$N%U%!%$%k%7%9%F%`0LCV$K%^%C%W$7$F$$$k!"%&%'%V6u4V0LCV(B (URL) +$B$,B??t$"$C$F!"@_Dj$7$?@)8B$r1*2s$5$l$F$7$^$&$+$b$7$l$J$$$+$i$G$9!#(B +$BNc$($P<!$N@_Dj$r9M$($F$_$^$7$g$&!#(B</p> + +<example> +<Location /dir/><br /> +Order allow,deny<br /> +Deny from all<br /> +</Location> +</example> + +<p><code>http://yoursite.example.com/dir/</code> +$B$X$N%j%/%(%9%H$G$O>e<j$/F0:n$7$^$9!#$7$+$7BgJ8;z>.J8;z$r6hJL$7$J$$(B +$B%U%!%$%k%7%9%F%`$r;H$C$F$$$?$i$I$&$J$k$G$7$g$&(B? +<code>http://yoursite.example.com/DIR/</code> +$B$X$N%j%/%(%9%H$G4JC1$K%"%/%;%9@)8B$r1*2s$5$l$F$7$^$$$^$9!#$3$l$KBP$7$F(B +<directive type="section" module="core">Directory</directive> +$B%G%#%l%/%F%#%V$r;HMQ$9$k$H!"$I$N$h$&$K8F$S=P$5$l$?$+$K4X$o$i$:(B +$B$=$N>l=j$+$iDs6!$5$l$kFbMF$KE,MQ$5$l$^$9!#(B +($BNc30$O%U%!%$%k%7%9%F%`$N%j%s%/$G$9!#%7%s%\%j%C%/%j%s%/$r;H$C$F!"(B +$BF10l$N%G%#%l%/%H%j$rJ#?t$N%U%!%$%k%7%9%F%`$K@_CV$G$-$^$9!#(B +<directive type="section" module="core">Directory</directive> +$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 +$BC)$j$^$9!#$G$9$+$i!"9bEY$J%;%-%e%j%F%#$,MW5a$5$l$k>l9g$O!"(B +$BE,@Z$K(B <directive module="core">Options</directive> +$B%G%#%l%/%F%#%V$r;HMQ$7$F%7%s%\%j%C%/%j%s%/$rL58z$K$9$k$Y$-$G$9!#(B)</p> + +<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 +$BL54X78$@$H;W$o$l$k$+$b$7$l$^$;$s$,!"(B +$BF10l$N%U%!%$%k%7%9%F%`0LCV$KJ#?t$N%&%'%V6u4V0LCV$r%^%C%W$9$kJ}K!$O!"(B +$BB>$K$$$/$i$G$b$"$k$H$$$&$3$H$r3P$($F$$$F$/$@$5$$!#(B +$B$G$9$+$i$G$-$k8B$j%U%!%$%k%7%9%F%`%3%s%F%J$r;HMQ$7$F$/$@$5$$!#(B +$B$7$+$7$J$,$i0l$D$@$1Nc30$,$"$j$^$9!#(B +<code><Location /></code> $B%;%/%7%g%s$O$I$s$J(B URL +$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 +$B5o$l$k$3$H$O40A4$K0BA4$G$9!#(B</p> +</section> + +</section> + +<section id="virtualhost"><title>$B%P!<%A%c%k%[%9%H(B</title> + +<p><directive type="section" module="core">VirtualHost</directive> +$B%3%s%F%J$OFCDj$N%[%9%H$KE,MQ$9$k%G%#%l%/%F%#%V$r3JG<$7$^$9!#(B +$B0lBf$N%^%7%s$GJ#?t$N%[%9%H$r0[$J$k@_Dj$GDs6!$7$?$$$H$-$KM-MQ$G$9!#(B +$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 +$B$4Mw2<$5$$!#(B</p> +</section> + +<section id="proxy"><title>$B%W%m%/%7(B</title> + +<p><directive type="section" module="mod_proxy">Proxy</directive> +$B$H(B <directive type="section" module="mod_proxy">ProxyMatch</directive> +$B%3%s%F%J$O!"(B<module>mod_proxy</module> +$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 +$BBP$7$F$N$_E,MQ$5$l$k(B +$B@_Dj%G%#%l%/%F%#%V$r3JG<$7$^$9!#Nc$($P<!$N@_Dj$O!"%W%m%-%7%5!<%P$,(B +<code>cnn.com</code> $B%&%'%V%5%$%H$r%"%/%;%9$9$k$?$a$K$O;H$($J$$$h$&$K$7$^$9!#(B</p> + +<example> +<Proxy http://cnn.com/*><br /> +Order allow,deny<br /> +Deny from all<br /> +</Proxy> +</example> +</section> + +<section id="whatwhere"><title>$B$I$N%G%#%l%/%F%#%V$,;H$($k$N(B?</title> + +<p>$B$I$N%?%$%W$N@_Dj%;%/%7%g%s$G$I$N%G%#%l%/%F%#%V$,;HMQ$G$-$k$+$O!"(B +$B%G%#%l%/%F%#%V$N(B <a href="mod/directive-dict.html#Context">Context</a> +$B$r8+$F$/$@$5$$!#(B +<directive type="section" module="core">Directory</directive> +$B$G;HMQ2DG=$J$b$N$OA4$F!"F1MM$K(B +<directive type="section" module="core">DirectoryMatch</directive>, +<directive type="section" module="core">Files</directive>, +<directive type="section" module="core">FilesMatch</directive>, +<directive type="section" module="core">Location</directive>, +<directive type="section" module="core">LocationMatch</directive>, +<directive type="section" module="mod_proxy">Proxy</directive>, +<directive type="section" module="mod_proxy">ProxyMatch</directive> +$B%;%/%7%g%s$G;HMQ2DG=$G$9!#$7$+$7$J$,$i4v$D$+Nc30$bB8:_$7$^$9!#(B</p> + +<ul> +<li><directive module="core">AllowOverride</directive> $B%G%#%l%/%F%#%V$O(B +<directive type="section" module="core">Directory</directive> +$B%;%/%7%g%s$G$N$_;HMQ2DG=$G$9!#(B</li> + +<li><code>FollowSymLinks</code> $B$H(B <code>SymLinksIfOwnerMatch</code> $B$N(B +<directive module="core">Options</directive> $B$O!"(B +<directive type="section" module="core">Directory</directive> +$B%;%/%7%g%s$+(B <code>.htaccess</code> $B%U%!%$%k$G$N$_;HMQ2DG=$G$9!#(B</li> + +<li><directive module="core">Options</directive> $B%G%#%l%/%F%#%V$O!"(B +<directive type="section" module="core">Files</directive> +$B$H(B <directive type="section" module="core">FilesMatch</directive> +$B%;%/%7%g%s$G$O;HMQ$G$-$^$;$s!#(B</li> +</ul> +</section> + +<section id="mergin"><title>$B%;%/%7%g%s$N%^!<%8J}K!(B</title> + + <p>$B%^!<%8$N=gHV$O0J2<$N$h$&$K$J$C$F$$$^$9(B:</p> + + <ol> + <li><directive + type="section" module="core">Directory</directive> ($B@55,I=8=L5$7(B) $B$H(B + .htaccess $B$rF1;~$K(B (.htaccess $B$,5v2D$5$l$F$$$l$P!"$=$l$,(B + <directive type="section" module="core">Directory</directive> $B$r>e=q$-$7$^$9(B) + </li> + + <li><directive type="section" module="core">DirectoryMatch</directive> + ($B$H(B <code><Directory ~></code></li> + + <li><directive type="section" module="core">Files</directive> $B$H(B + <directive type="section" module="core">FilesMatch</directive> $B$rF1;~$K(B</li> + + <li><directive type="section" module="core">Location</directive> $B$H(B + <directive type="section" module="core">LocationMatch</directive> $B$rF1;~$K(B</li> + </ol> + + <p><directive type="section" module="core">Directory</directive> + $B0J30$O!"$=$l$>$l$N%0%k!<%W$O@_Dj%U%!%$%k$K8=$l$?=gHV$K=hM}$5$l$^$9!#(B + <directive type="section" module="core">Directory</directive> ($B>e$N%0%k!<%W(B 1) + $B$O%G%#%l%/%H%j$,C;$$$b$N$+$iD9$$$b$N$X$H=hM}$5$l$^$9!#$G$9$+$i!"(B + $BNc$($P(B <code><Directory /var/web/dir1></code> $B$O(B + <code><Directory /var/web/dir/subdir></code> $B$NA0$K=hM}$5$l$^$9!#J#?t$N(B + <directive + type="section" module="core">Directory</directive> $B%;%/%7%g%s$,(B + $BF1$8%G%#%l%/%H%j$K(B + $BE,MQ$5$l$k>l9g$O!"@_Dj%U%!%$%kCf$N=gHV$K=>$C$F=hM}$5$l$^$9!#(B + <directive module="core">Include</directive> + $B$K$h$C$FA^F~$5$l$?@_Dj$O(B $BA^F~$7$F$$$k%U%!%$%k$N(B + <directive module="core">Include</directive> + $B%G%#%l%/%F%#%V$N0LCV$K$"$C$?$+$N$h$&$K07$o$l$^$9!#(B</p> + + <p><directive type="section" + module="core">VirtualHost</directive> $B%;%/%7%g%sCf$N%;%/%7%g%s$O(B + $B%P!<%A%c%k%[%9%H$NDj5A$N30B&$NBP1~$9$k%;%/%7%g%s$N(B + <em>$B8e(B</em>$B$KE,MQ$5$l$^$9!#$3$l$K$h$j%P!<%A%c%k%[%9%H$,(B + $B%a%$%s$N%5!<%P@_Dj$r>e=q$-$G$-$k$h$&$J$j$^$9!#(B</p> + + <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> + + +<note><title>$B5;=Q%a%b(B</title> + $B<B:]$K$O!"L>A0$rJQ49$9$kCJ3,(B (URL + $B$r%U%!%$%kL>$K%^%C%W$9$k$?$a$K(B <code>Alias</code> $B$d(B + <code>DocumentRoot</code> $B$,;HMQ$5$l$k$H$3$m(B) $B$ND>A0$K(B + <directive type="section" module="core">Location</directive>/<directive type="section" module="core">LocationMatch</directive> + $B$,9T$J$o$l$^$9!#(B + $B$3$l$i$rE,MQ$7$?7k2L$OJQ49$,=*$o$C$?8e$K40A4$K<N$F$i$l$^$9!#(B +</note> +<section id="merge-examples"><title>$BNc(B</title> + +<p>$B<!$O%^!<%8$N=gHV$r<($9$?$a$NWs0UE*$JNc$K$J$C$F$$$^$9!#(B +$B%j%/%(%9%HA4$F$KE,MQ$5$l$k$H$7$F!"K\Nc$N%G%#%l%/%F%#%V$O(B +A > B > C > D > E $B$N=gHV$KE,MQ$5$l$^$9!#(B</p> + +<example> +<Location /><br /> +E<br /> +</Location><br /> +<br /> +<Files f.html><br /> +D<br /> +</Files><br /> +<br /> +<VirtualHost *><br /> +<Directory /a/b><br /> +B<br /> +</Directory><br /> +</VirtualHost><br /> +<br /> +<DirectoryMatch "^.*b$"><br /> +C<br /> +</DirectoryMatch><br /> +<br /> +<Directory /a/b><br /> +A<br /> +</Directory><br /> +<br /> +</example> + +<p>$B$b$C$H6qBNE*$J!"<!$NNc$r9M$($F$_$^$7$g$&!#(B +<directive module="core" type="section">Directory</directive> +$B%;%/%7%g%s$K@_CV$5$l$?%"%/%;%9@)8B$K4X$o$i$:!"(B +<directive module="core" type="section">Location</directive> +$B%;%/%7%g%s$,:G8e$KI>2A$5$l$F!"%5!<%P$X$N%"%/%;%9$O@)8B$5$l$^$;$s!#(B +$B$D$^$j!"%^!<%8$N=gHV$O=EMW$G$9$N$G!"Cm0U$7$F;HMQ$7$F$/$@$5$$(B!</p> + +<example> +<Location /><br /> +Order deny,allow<br /> +Allow from all<br /> +</Location><br /> +<br /> +# Woops! This <Directory> section will have no effect<br /> +<Directory /><br /> +Order allow,deny<br /> +Allow from all<br /> +Deny from badguy.example.com<br /> +</Directory> +</example> + +</section> + +</section> +</manualpage> diff --git a/docs/manual/sections.xml.meta b/docs/manual/sections.xml.meta index 5cbd0e28a7..f12ea0e1d8 100644 --- a/docs/manual/sections.xml.meta +++ b/docs/manual/sections.xml.meta @@ -7,6 +7,6 @@ <variants> <variant>en</variant> - <variant htmlonly="yes">ja</variant> + <variant>ja</variant> </variants> </metafile> |