Apache2開啟網站的Index順序如下:
index.html index.cgi index.pl index.php index.xhtml

若你要改變Index順序,建議修改設定檔,加入以下文字
vim /etc/apach2/apach2.conf
DirectoryIndex  index.php index.html index.cgi index.pl index.xhtml
這樣一開始就會用Index.php開啟網站

 

arrow
arrow
    全站熱搜

    蒼穹 發表在 痞客邦 留言(0) 人氣()