このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン 両方とも次のリビジョン | ||
apache:2.4:httpd.conf [2020/11/19 15:31] y2sunlight [Apache2.4 httpd.confの編集] |
apache:2.4:httpd.conf [2020/11/20 09:33] y2sunlight [概要] |
||
---|---|---|---|
行 29: | 行 29: | ||
以下では、主要な設定内容のみを、httpd.conf で出現するディレクティブの順に挙げます。 | 以下では、主要な設定内容のみを、httpd.conf で出現するディレクティブの順に挙げます。 | ||
+ | |||
+ | 尚、XAMPPのhttpd.conf は以下に配置されています。 | ||
+ | |||
+ | < | ||
+ | {XAMPP Install folder}\apache\conf\*httpd.conf | ||
+ | </ | ||
\\ | \\ | ||
行 101: | 行 107: | ||
== デフォルトのアクセス制御 == | == デフォルトのアクセス制御 == | ||
- | < | + | < |
- | < | + | < |
AllowOverride none | AllowOverride none | ||
Require all denied | Require all denied | ||
行 125: | 行 131: | ||
== ドキュメントルートのアクセス制御 == | == ドキュメントルートのアクセス制御 == | ||
- | < | + | < |
< | < | ||
Options Indexes FollowSymLinks Includes ExecCGI | Options Indexes FollowSymLinks Includes ExecCGI | ||
行 143: | 行 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 \ | ||
行 156: | 行 162: | ||
== 特別なファイルの保護 == | == 特別なファイルの保護 == | ||
- | < | + | < |
<Files " | <Files " | ||
Require all denied | Require all denied |