close

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開啟網站

 

全站熱搜
創作者介紹
創作者 蒼穹 的頭像
蒼穹

蒼芎技術筆記本

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