Commit 9a509c6a authored by Yoshiki Hayashi's avatar Yoshiki Hayashi
Browse files

New Japanese translation. Forward port from 1.3.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95392 13f79535-47bb-0310-9956-ffa450edef68
parent a7dbc7ba
Loading
Loading
Loading
Loading

docs/manual/sections.html

deleted100644 → 0
+0 −151
Changes for docs/manual/sections.html: 0 added lines, 151 removed lines.
Original line number Diff line number Diff line
<!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">
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />

    <title>How Directory, Location and Files sections work</title>
  </head>
  <!-- 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">How Directory, Location and Files sections
    work</h1>

    <p>The sections <a
    href="mod/core.html#directory"><code>&lt;Directory&gt;</code></a>,
    <a
    href="mod/core.html#location"><code>&lt;Location&gt;</code></a>
    and <a
    href="mod/core.html#files"><code>&lt;Files&gt;</code></a> can
    contain directives which only apply to specified directories,
    URLs or files respectively. Also htaccess files can be used
    inside a directory to apply directives to that directory. This
    document explains how these different sections differ and how
    they relate to each other when Apache decides which directives
    apply for a particular directory or request URL.</p>

    <h2>Directives allowed in the sections</h2>

    <p>Everything that is syntactically allowed in
    <code>&lt;Directory&gt;</code> is also allowed in
    <code>&lt;Location&gt;</code> (except a
    sub-<code>&lt;Files&gt;</code> section). Semantically, however
    some things, most notably <code>AllowOverride</code> and the
    two options <code>FollowSymLinks</code> and
    <code>SymLinksIfOwnerMatch</code>, make no sense in
    <code>&lt;Location&gt;</code>,
    <code>&lt;LocationMatch&gt;</code> or
    <code>&lt;DirectoryMatch&gt;</code>. The same for
    <code>&lt;Files&gt;</code> -- syntactically everything is fine,
    but semantically some things are different.</p>

    <h2>How the sections are merged</h2>

    <p>The order of merging is:</p>

    <ol>
      <li><code>&lt;Directory&gt;</code> (except regular
      expressions) and .htaccess done simultaneously (with
      .htaccess, if allowed, overriding
      <code>&lt;Directory&gt;</code>)</li>

      <li><code>&lt;DirectoryMatch&gt;</code>, and
      <code>&lt;Directory&gt;</code> with regular expressions</li>

      <li><code>&lt;Files&gt;</code> and
      <code>&lt;FilesMatch&gt;</code> done simultaneously</li>

      <li><code>&lt;Location&gt;</code> and
      <code>&lt;LocationMatch&gt;</code> done simultaneously</li>
    </ol>

    <p>Apart from <code>&lt;Directory&gt;</code>, each group is
    processed in the order that they appear in the configuration
    files. <code>&lt;Directory&gt;</code> (group 1 above) is
    processed in the order shortest directory component to longest.
    If multiple <code>&lt;Directory&gt;</code> sections apply to
    the same directory they are processed in the configuration
    file order. Configurations included
    via the <code>Include</code> directive will be treated as if
    they were inside the including file at the location of the
    <code>Include</code> directive.</p>

    <p>Sections inside <code>&lt;VirtualHost&gt;</code> sections
    are applied <em>after</em> the corresponding sections outside
    the virtual host definition. This allows virtual hosts to
    override the main server configuration.</p>

    <p>Later sections override earlier ones.</p>

    <h2>Notes about using sections</h2>

    <p>The general guidelines are:</p>

    <ul>
      <li>If you are attempting to match objects at the filesystem
      level then you must use <code>&lt;Directory&gt;</code> and/or
      <code>&lt;Files&gt;</code>.</li>

      <li>If you are attempting to match objects at the URL level
      then you must use <code>&lt;Location&gt;</code></li>
    </ul>

    <p>But a notable exception is:</p>

    <ul>
      <li>proxy control is done via <code>&lt;Directory&gt;</code>.
      This is a legacy mistake because the proxy existed prior to
      <code>&lt;Location&gt;</code>. A future version of the config
      language should probably switch this to
      <code>&lt;Location&gt;</code>.</li>
    </ul>

    <p>Note about .htaccess parsing:</p>

    <ul>
      <li>Modifying .htaccess parsing during Location doesn't do
      anything because .htaccess parsing has already occurred.</li>
    </ul>

    <p><code>&lt;Location&gt;</code> and symbolic links:</p>

    <ul>
      <li>It is not possible to use "<code>Options
      FollowSymLinks</code>" or "<code>Options
      SymLinksIfOwnerMatch</code>" inside a
      <code>&lt;Location&gt;</code>,
      <code>&lt;LocationMatch&gt;</code> or
      <code>&lt;DirectoryMatch&gt;</code> section (the options are
      simply ignored). Using the options in question is only
      possible inside a <code>&lt;Directory&gt;</code> section (or
      a <code>.htaccess</code> file).</li>
    </ul>

    <p><code>&lt;Files&gt;</code> and <code>Options</code>:</p>

    <ul>
      <li>Apache won't check for it, but using an
      <code>Options</code> directive inside a
      <code>&lt;Files&gt;</code> section has no effect.</li>
    </ul>

    <p>Another note:</p>

    <ul>
      <li>There is actually a
      <code>&lt;Location&gt;</code>/<code>&lt;LocationMatch&gt;</code>
      sequence performed just before the name translation phase
      (where <code>Aliases</code> and <code>DocumentRoots</code>
      are used to map URLs to filenames). The results of this
      sequence are completely thrown away after the translation has
      completed.</li>
    </ul>
    <!--#include virtual="footer.html" -->
  </body>
</html>
+151 −0
Changes for docs/manual/sections.html.ja.jis: 151 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?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">
    <!--#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>&lt;Directory&gt;</code></a>, 
    <a
    href="mod/core.html#location"><code>&lt;Location&gt;</code></a>, <a
    href="mod/core.html#files"><code>&lt;Files&gt;</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>&lt;Directory&gt;</code>
    $B$K=q$1$k$b$N$O$9$Y$F(B <code>&lt;Location&gt;</code>
    $B$K$b=q$/$3$H$,$G$-$^$9(B (<code>&lt;Files&gt;</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>&lt;Location&gt;</code>,
    <code>&lt;LocationMatch&gt;</code>,
    <code>&lt;DirectoryMatch&gt;</code> $BCf$G$O0UL#$N$J$$$b$N$b$"$j$^$9!#(B
    $BF1MM$N$3$H$,(B <code>&lt;Files&gt;</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>&lt;Directory&gt;</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>&lt;Directory&gt;</code> $B$r(B $B>e=q$-$7$^$9(B)
      </li>

      <li><code>&lt;DirectoryMatch&gt;</code> $B$H@55,I=8=$N$"$k(B
      <code>&lt;Directory&gt;</code></li>

      <li><code>&lt;Files&gt;</code> $B$H(B
      <code>&lt;FilesMatch&gt;</code> $B$rF1;~$K(B</li>

      <li><code>&lt;Location&gt;</code> $B$H(B
      <code>&lt;LocationMatch&gt;</code> $B$rF1;~$K(B</li>
    </ol>

    <p><code>&lt;Directory&gt;</code>
    $B0J30$O!"$=$l$>$l$N%0%k!<%W$O@_Dj%U%!%$%k$K8=$l$?=gHV$K=hM}$5$l$^$9!#(B
    <code>&lt;Directory&gt;</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>&lt;Directory&gt;</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
    <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>&lt;VirtualHost&gt;</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>&lt;Directory&gt;</code> $B$H(B <code>&lt;Files&gt;</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>&lt;Location&gt;</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>&lt;Directory&gt;</code>
      $B$rDL$7$F9T$J$o$l$^$9!#$3$l$O%W%m%-%7$,(B
      <code>&lt;Location&gt;</code>
      $B$h$jA0$+$iB8:_$7$?$3$H$K$h$k%_%9$G$9!#>-Mh$N@_Dj8@8l$G$O$*$=$i$/(B
      <code>&lt;Location&gt;</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>&lt;Location&gt;</code> $B$H%7%s%\%j%C%/%j%s%/(B:</p>

    <ul>
      <li>&quot;<code>Options FollowSymLinks</code>&quot; $B$d(B
      &quot;<code>Options SymLinksIfOwnerMatch</code>&quot; $B$O(B
      <code>&lt;Location&gt;</code>,
      <code>&lt;LocationMatch&gt;</code>,
      <code>&lt;DirectoryMatch&gt;</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>&lt;Directory&gt;</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>&lt;Files&gt;</code> $B$H(B <code>Options</code>:</p>

    <ul>
      <li>Apache $B$O$3$N>u67$O%A%'%C%/$7$^$;$s$,!"(B
      <code>&lt;Files&gt;</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>&lt;Location&gt;</code>/<code>&lt;LocationMatch&gt;</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>