Demo

討論

保持飢餓,保持愚笨 (Stay hungry, stay foolish)。 史蒂夫·賈伯斯

公告

本網站已取消討論區的討論方式,如果您有問題請至LINE群行動條碼圖片網址,或Facebook社團

index.php 問題,請幫幫忙 !!

  • timz800i
  • timz800i 的個人頭像 Topic Author
  • 訪客
  • 訪客
2011-09-22 11:33 #20890 來自 timz800i
timz800i created the topic: index.php 問題,請幫幫忙 !!
After I upload XAMPP to webhost account.

It turns out http://domain.com/index.php <--- usually it doesn't appear at the end.
When I type http://domain.com , it only appear "it works !" two words on the screen.
I have to manually add "index.php" to get back to the home page.

Anyone can tell me how to get rid of the index.php ?

many thanks

Please 登入 to join the conversation.

More
2011-09-22 20:28 #20897 來自 羽城君拉
羽城君拉 replied the topic: index.php 問題,請幫幫忙 !!
1.rename the "index.html"(or index.htm) to another name like "index12345.html".
or delete index.html(or index.htm).

2.config your apache httpd.conf file(if can):
"DirectoryIndex" value, let "index.php" be the first one.

...

Please 登入 to join the conversation.