會不會是 index.html 的讀取權限有問題,chmod 644 index.html
於 2012/11/7 下午 12:04, 天涯劍客 提到:
>
> 小弟在 /var/www/html 下放了 index.html檔
>
> 本來可以看到首頁 http://163.23.109.193 不能看到
>
> 後來改了
> cd /etc/httpd/conf
> vi httpd.conf
>
> 和php.ini的設定檔
>
>
> 現在php是起來了 可是放index.html在/var/www/html看不到
>
> http://163.23.109.193/phpinfo.php 可以看到
>
>
> 請教我要怎麼改設定檔
>
> --
>
> --
> ※ 發信站: 批踢踢實業坊(ptt.cc)
> ◆ From: 163.23.109.197
> → laxii:我放index.php index.html index.htm 在/var/www/html下都 11/07 12:03
> → laxii:改設定以前是可以看到index.html的 11/07 12:04
>
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):