Apacheでデフォルトページを設定/変更する方法
ここでは、Apacheでデフォルトページを設定または変更する方法を示します。 Apacheのデフォルトページは非常に簡単に設定できます。次の場所にApacheconfファイルを設定する必要があります。
*
Apacheファイルパス/conf/httpd.conf
*
httpd.confファイルで次の変更を行います。 index.htmlまたはindex.phpを必要なデフォルトページに変更します。
# # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. #DirectoryIndex index.html index.php
Apacheを再起動してください。