2013-11-22 90 views

回答

0

我同意那個文件名應該是index.php,但是如果有一些原因,爲什麼這個名字必須是2index.php,並且你希望它作爲一個索引,你需要修改你的apache配置文件來包含「2index.php」作爲「DirectoryIndex」的選項之一。配置行可能如下所示:

DirectoryIndex index.php index.phtml index.html index.htm 2index.php

相關問題