このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン 両方とも次のリビジョン | ||
apache:2.4:httpd.conf [2020/11/19 15:06] y2sunlight [概要] |
apache:2.4:httpd.conf [2020/11/20 09:27] y2sunlight [Main server configuretion] |
||
---|---|---|---|
行 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の編集 | ||
行 74: | 行 75: | ||
LoadModule ディレクティブはモジュールを追加してサーバの機能を拡張します。初期にロードされているモジュールの一覧は前章の「[[apache: | LoadModule ディレクティブはモジュールを追加してサーバの機能を拡張します。初期にロードされているモジュールの一覧は前章の「[[apache: | ||
+ | |||
+ | \\ | ||
===== Main server configuretion ===== | ===== Main server configuretion ===== | ||
行 98: | 行 101: | ||
== デフォルトのアクセス制御 == | == デフォルトのアクセス制御 == | ||
- | < | + | < |
- | < | + | < |
AllowOverride none | AllowOverride none | ||
Require all denied | Require all denied | ||
行 122: | 行 125: | ||
== ドキュメントルートのアクセス制御 == | == ドキュメントルートのアクセス制御 == | ||
- | < | + | < |
< | < | ||
Options Indexes FollowSymLinks Includes ExecCGI | Options Indexes FollowSymLinks Includes ExecCGI | ||
行 140: | 行 143: | ||
== インデックスファイル == | == インデックスファイル == | ||
- | < | + | < |
< | < | ||
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: | 行 156: | ||
== 特別なファイルの保護 == | == 特別なファイルの保護 == | ||
- | < | + | < |
<Files " | <Files " | ||
Require all denied | Require all denied | ||
行 189: | 行 192: | ||
combined以外の形式(common/ | combined以外の形式(common/ | ||
+ | \\ | ||
===== Supplemental configuretion ===== | ===== Supplemental configuretion ===== | ||
行 202: | 行 206: | ||
XAMPP7.2でインストールしたApacheでは、conf/ | XAMPP7.2でインストールしたApacheでは、conf/ | ||
+ | |||
+ | \\ |