1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
4 <!-- English Revision: 420990:922232 (outdated) -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <manualpage metafile="server-wide.xml.meta">
25 <title>サーバ全体の設定</title>
28 <p>このドキュメントでは<module>core</module>
30 基本動作を設定するためのものを説明します。</p>
33 <section id="identification">
38 <directive module="core">ServerName</directive>
39 <directive module="core">ServerAdmin</directive>
40 <directive module="core">ServerSignature</directive>
41 <directive module="core">ServerTokens</directive>
42 <directive module="core">UseCanonicalName</directive>
43 <directive module="core">UseCanonicalPhysicalPort</directive>
47 <p><directive module="core">ServerAdmin</directive> ディレクティブと
48 <directive module="core">ServerTokens</directive>
49 ディレクティブは、エラーメッセージなどのサーバが作るドキュメントに、
50 どのようなサーバの情報を表示するかを制御します。
51 <directive module="core">ServerTokens</directive> ディレクティブは、Server HTTP
52 レスポンスヘッダフィールドの値を設定します。</p>
54 <p><directive module="core">ServerName</directive>,
55 <directive module="core">UseCanonicalName</directive>,
56 <directive module="core">UseCanonicalPhysicalPort</directive>
57 ディレクティブは、サーバが自分自身を参照する URL
59 たとえば、クライアントがディレクトリを要求して、
60 そのディレクトリ名の最後にスラッシュが付いていないような場合には、
61 ドキュメントの相対的な参照を正しく解決できるようにするために、
62 Apache は最後のスラッシュを含んだ完全なパスにクライアントを
66 <section id="locations">
67 <title>ファイルの位置</title>
71 <directive module="mpm_common">CoreDumpDirectory</directive>
72 <directive module="core">DocumentRoot</directive>
73 <directive module="core">ErrorLog</directive>
74 <directive module="mpm_common">LockFile</directive>
75 <directive module="mpm_common">PidFile</directive>
76 <directive module="mpm_common">ScoreBoardFile</directive>
77 <directive module="core">ServerRoot</directive>
81 <p>これらのディレクティブは Apache
82 が適切な動作をするために必要な各種ファイルの位置を制御します。
83 パスがスラッシュ (/) で始まっていないときは、ファイルは
84 <directive module="core">ServerRoot</directive> からの相対パスとして
86 以外のユーザが書き込み可能なパスにファイルを置く場合は注意が必要です。
87 詳細は<a href="misc/security_tips.html#serverroot">「セキュリティ情報」</a>
91 <section id="resource">
92 <title>リソースの制限</title>
96 <directive module="core">LimitRequestBody</directive>
97 <directive module="core">LimitRequestFields</directive>
98 <directive module="core">LimitRequestFieldsize</directive>
99 <directive module="core">LimitRequestLine</directive>
100 <directive module="core">RLimitCPU</directive>
101 <directive module="core">RLimitMEM</directive>
102 <directive module="core">RLimitNPROC</directive>
103 <directive module="mpm_common">ThreadStackSize</directive>
107 <p><directive>LimitRequest</directive>* ディレクティブは Apache
108 がクライアントからのリクエスト読み込みで使う
109 リソースを制限するために使われます。これらの値を制限することで、
110 いくつかのサービス拒否攻撃は影響を和らげることができます。</p>
112 <p><directive>RLimit</directive>* ディレクティブは、Apache の子プロセスから
113 fork されたプロセスが使用するリソースを制限するために使われます。
114 特に、これは CGI スクリプトと SSI exec
115 コマンドで使われるリソースを制御します。</p>
117 <p><directive module="mpm_common">ThreadStackSize</directive> は Netware
118 でのみ、スタックの大きさを制御するために使われます。</p>