Current Path : /usr/local/share/doc/apache/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/doc/apache/sections.html.ja.jis |
<?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.13 --> <!-- Background white, links blue (unvisited), navy (visited), red (active) --> <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000080" alink="#ff0000"> <div align="CENTER"> <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> <h3>Apache HTTP Server Version 1.3</h3> <p><small><em>Is this the version you want? For more recent versions, check our <a href="/docs/">documentation index</a>.</em></small></p> </div> <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> <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 .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) </li> <li><code><DirectoryMatch></code> $B$H@55,I=8=$N$"$k(B <code><Directory></code></li> <li><code><Files></code> $B$H(B <code><FilesMatch></code> $B$rF1;~$K(B</li> <li><code><Location></code> $B$H(B <code><LocationMatch></code> $B$rF1;~$K(B</li> </ol> <p><code><Directory></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 $BE,MQ$5$l$k>l9g$O!"@_Dj%U%!%$%kCf$N=gHV$K=>$C$F=hM}$5$l$^$9!#(B $B@_Dj%U%!%$%k$O(B httpd.conf, srm.conf, access.conf $B$N=g$K=hM}$5$l$^$9!#(B<code>Include</code> $B$K$h$C$FA^F~$5$l$?@_Dj$O(B $BA^F~$7$F$$$k%U%!%$%k$N(B <code>Include</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 $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($BCm0U(B: $B$3$l$O(B 1.2.2 $B0J9_$H(B 1.3a2 $B0J9_$G$N$_@5$7$/F0:n$7$^$9!#(B $B$3$l$i$N%j%j!<%9$h$jA0$N$b$N$O%P!<%A%c%k%[%9%H$NCf$N%;%/%7%g%s$O(B $B%a%$%s%5!<%P$N(B<em>$BA0(B</em>$B$KE,MQ$5$l$F$$$^$7$?(B)$B!#(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> <p><code><Location></code> $B$H%7%s%\%j%C%/%j%s%/(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> <p><code><Files></code> $B$H(B <code>Options</code>:</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> <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> <hr /> <h3 align="CENTER">Apache HTTP Server</h3> <a href="./"><img src="images/index.gif" alt="Index" /></a> </body> </html>