このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン 両方とも次のリビジョン | ||
apache:2.4:httpd.conf [2020/11/19 15:06] y2sunlight [概要] |
apache:2.4:httpd.conf [2020/11/20 09:33] y2sunlight [概要] |
||
---|---|---|---|
行 1: | 行 1: | ||
====== Apache2.4 httpd.confの編集 ====== | ====== Apache2.4 httpd.confの編集 ====== | ||
+ | Version 2.4.41 | ||
+ | |||
--- // | --- // | ||
行 5: | 行 7: | ||
関連記事 | 関連記事 | ||
- | * [[xampp: | ||
* [[apache: | * [[apache: | ||
* Apache2.4 httpd.confの編集 | * Apache2.4 httpd.confの編集 | ||
行 28: | 行 29: | ||
以下では、主要な設定内容のみを、httpd.conf で出現するディレクティブの順に挙げます。 | 以下では、主要な設定内容のみを、httpd.conf で出現するディレクティブの順に挙げます。 | ||
+ | |||
+ | 尚、XAMPPのhttpd.conf は以下に配置されています。 | ||
+ | |||
+ | < | ||
+ | {XAMPP Install folder}\apache\conf\*httpd.conf | ||
+ | </ | ||
\\ | \\ | ||
行 74: | 行 81: | ||
LoadModule ディレクティブはモジュールを追加してサーバの機能を拡張します。初期にロードされているモジュールの一覧は前章の「[[apache: | LoadModule ディレクティブはモジュールを追加してサーバの機能を拡張します。初期にロードされているモジュールの一覧は前章の「[[apache: | ||
+ | |||
+ | \\ | ||
===== Main server configuretion ===== | ===== Main server configuretion ===== | ||
行 98: | 行 107: | ||
== デフォルトのアクセス制御 == | == デフォルトのアクセス制御 == | ||
- | < | + | < |
- | < | + | < |
AllowOverride none | AllowOverride none | ||
Require all denied | Require all denied | ||
行 122: | 行 131: | ||
== ドキュメントルートのアクセス制御 == | == ドキュメントルートのアクセス制御 == | ||
- | < | + | < |
< | < | ||
Options Indexes FollowSymLinks Includes ExecCGI | Options Indexes FollowSymLinks Includes ExecCGI | ||
行 140: | 行 149: | ||
== インデックスファイル == | == インデックスファイル == | ||
- | < | + | < |
< | < | ||
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \ | DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \ | ||
行 153: | 行 162: | ||
== 特別なファイルの保護 == | == 特別なファイルの保護 == | ||
- | < | + | < |
<Files " | <Files " | ||
Require all denied | Require all denied | ||
行 189: | 行 198: | ||
combined以外の形式(common/ | combined以外の形式(common/ | ||
+ | \\ | ||
===== Supplemental configuretion ===== | ===== Supplemental configuretion ===== | ||
行 202: | 行 212: | ||
XAMPP7.2でインストールしたApacheでは、conf/ | XAMPP7.2でインストールしたApacheでは、conf/ | ||
+ | |||
+ | \\ |