XAMPP
Apacheの設定方法
本ページの紹介
XAMPPのApache設定方法について説明します。手順
.htaccessの設定
C:\xampp\htdocs以下に.htaccessというファイルを作成し、テキストエディタで開きます。
http.confの設定 C:\xampp\apache\conf\http.confをテキストエディタで開きます。
以下の行を
次のように書き換えます。
以下の箇所を
次のように書き換えます。
以下のように書き込んで保存します。
Order deny,allow
Deny from All
Allow from localhost 127.0.0.1
http.confの設定 C:\xampp\apache\conf\http.confをテキストエディタで開きます。
以下の行を
Options Indexes FollowSymLinks Includes ExecCGI
次のように書き換えます。
Options FollowSymLinks Includes ExecCGI
以下の箇所を
<IfModule dir_module>
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
home.php home.pl home.cgi home.asp home.shtml home.html home.htm
</IfModule>
次のように書き換えます。
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
スポンサード リンク