DirectoryIndexの確認

Apacheの「httpd.conf」ファイルで「DirectoryIndex」の確認を行います。

XOOPS Cubeをインストールする作業の中で第2ステップに進む時にディレクトリだけで「index.php」ファイルを参照しようとする時あります。そこで「DirectoryIndex」に「index.php」が追加されているかどうかを確認して下さい。

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>

上記のように「index.php」が記述されていれば大丈夫です。(順番は関係ありません)。

※「DirectoryIndex」については「ディレクトリインデックス(DirectoryIndex)」を参照して下さい。

スポンサードリンク