Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


apache:2.4:httpd.conf

差分

このページの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 は以下に配置されています。
 +
 +<code>
 +{XAMPP Install folder}\apache\conf\*httpd.conf
 +</code>
  
 \\ \\
行 101: 行 107:
  
 == デフォルトのアクセス制御 == == デフォルトのアクセス制御 ==
-<code> +<code xml httpd.conf
-<Directory />+<Directory>
     AllowOverride none     AllowOverride none
     Require all denied     Require all denied
行 125: 行 131:
 == ドキュメントルートのアクセス制御 == == ドキュメントルートのアクセス制御 ==
  
-<code>+<code xml httpd.conf>
 <Directory "D:/usr/xampp7.2.22/htdocs"> <Directory "D:/usr/xampp7.2.22/htdocs">
     Options Indexes FollowSymLinks Includes ExecCGI     Options Indexes FollowSymLinks Includes ExecCGI
行 143: 行 149:
  
 == インデックスファイル == == インデックスファイル ==
-<code>+<code xml httpd.conf>
 <IfModule dir_module> <IfModule dir_module>
     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:
  
 == 特別なファイルの保護 == == 特別なファイルの保護 ==
-<code>+<code xml httpd.conf>
 <Files ".ht*"> <Files ".ht*">
     Require all denied     Require all denied
apache/2.4/httpd.conf.txt · 最終更新: 2020/11/20 09:35 by y2sunlight