From 9a509c6a889e9db456691cb468acf07287ab46de Mon Sep 17 00:00:00 2001 From: Yoshiki Hayashi Date: Thu, 30 May 2002 07:22:08 +0000 Subject: [PATCH] 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 --- docs/manual/sections.html | 151 ------------------------------- docs/manual/sections.html.ja.jis | 151 +++++++++++++++++++++++++++++++ 2 files changed, 151 insertions(+), 151 deletions(-) delete mode 100644 docs/manual/sections.html create mode 100644 docs/manual/sections.html.ja.jis diff --git a/docs/manual/sections.html b/docs/manual/sections.html deleted file mode 100644 index 94a7ed1cb6..0000000000 --- a/docs/manual/sections.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - How Directory, Location and Files sections work - - - - - - -

How Directory, Location and Files sections - work

- -

The sections <Directory>, - <Location> - and <Files> 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.

- -

Directives allowed in the sections

- -

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

- -

How the sections are merged

- -

The order of merging is:

- -
    -
  1. <Directory> (except regular - expressions) and .htaccess done simultaneously (with - .htaccess, if allowed, overriding - <Directory>)
  2. - -
  3. <DirectoryMatch>, and - <Directory> with regular expressions
  4. - -
  5. <Files> and - <FilesMatch> done simultaneously
  6. - -
  7. <Location> and - <LocationMatch> done simultaneously
  8. -
- -

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

- -

Sections inside <VirtualHost> sections - are applied after the corresponding sections outside - the virtual host definition. This allows virtual hosts to - override the main server configuration.

- -

Later sections override earlier ones.

- -

Notes about using sections

- -

The general guidelines are:

- - - -

But a notable exception is:

- - - -

Note about .htaccess parsing:

- - - -

<Location> and symbolic links:

- - - -

<Files> and Options:

- - - -

Another note:

- - - - - - diff --git a/docs/manual/sections.html.ja.jis b/docs/manual/sections.html.ja.jis new file mode 100644 index 0000000000..febc113101 --- /dev/null +++ b/docs/manual/sections.html.ja.jis @@ -0,0 +1,151 @@ + + + + + + How Directory, Location and Files sections work + + + + + + + +

Directory, Location, Files + セクションの動作方法

+ +

セクション <Directory>, + <Location>, <Files> + には、それぞれ指定されたディレクトリ、URL, + ファイルにのみ適用されるディレクティブを書くことができます。 + また、ディレクトリにディレクティブを適用するためにディレクトリ中に + .htaccess ファイルを使用することもできます。このドキュメントは + これらのセクションの違いを説明し、それらと、ディレクトリや + リクエストされた URL に Apache がどのディレクティブを + 適用するかを決定する方法との関係を説明します。

+ +

セクション中に許可されているディレクティブ

+ +

構文上 <Directory> + に書けるものはすべて <Location> + にも書くことができます (<Files> + セクションは例外です)。しかし、中には + AllowOverrideFollowSymLinks + と SymLinksIfOwnerMatch + という二つのオプションのように、<Location>, + <LocationMatch>, + <DirectoryMatch> 中では意味のないものもあります。 + 同様のことが <Files> + にも言えます。構文的にはすべて大丈夫ですが、 + 意味的にはそうでないものもあります。

+ +

セクションのマージ方法

+ +

マージの順番は以下のようになっています:

+ +
    +
  1. <Directory> (正規表現無し) と + .htaccess を同時に (.htaccess が許可されていれば、それが + <Directory> を 上書きします) +
  2. + +
  3. <DirectoryMatch> と正規表現のある + <Directory>
  4. + +
  5. <Files> と + <FilesMatch> を同時に
  6. + +
  7. <Location> と + <LocationMatch> を同時に
  8. +
+ +

<Directory> + 以外は、それぞれのグループは設定ファイルに現れた順番に処理されます。 + <Directory> (上のグループ 1) + はディレクトリが短いものから長いものへと処理されます。複数の + <Directory> セクションが同じディレクトリに + 適用される場合は、設定ファイル中の順番に従って処理されます。 + Include + によって挿入された設定は 挿入しているファイルの + Include + ディレクティブの位置にあったかのように扱われます。

+ +

<VirtualHost> セクション中のセクションは + バーチャルホストの定義の外側の対応するセクションの + に適用されます。これによりバーチャルホストが + メインのサーバ設定を上書きできるようなります。

+ +

後のセクションのディレクティブが前のセクションのものを上書きします。

+ +

セクションを使う際の注意

+ +

一般的なガイドラインは:

+ + + +

重要な例外は:

+ + + +

.htaccess ファイルの解析に関する注意:

+ + + +

<Location> とシンボリックリンク:

+ + + +

<Files>Options:

+ + + +

他の注意:

+ + + + + + -- 2.40.0