/var/www/html - Linux

Elizabeth avatar
By Elizabeth
at 2012-11-07T12:02

Table of Contents


小弟在 /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 可以看到


請教我要怎麼改設定檔

--

--
Tags: Linux

All Comments

Caroline avatar
By Caroline
at 2012-11-11T02:28
我放index.php index.html index.htm 在/var/www/html下都
Ursula avatar
By Ursula
at 2012-11-15T00:57
改設定以前是可以看到index.html的
Frederica avatar
By Frederica
at 2012-11-15T13:13
DirectoryIndex index.php 改 DirectoryIndex index.html
Ina avatar
By Ina
at 2012-11-18T00:43
不知道這樣可不可行
Regina avatar
By Regina
at 2012-11-21T17:53
ServerName是啥?
Olive avatar
By Olive
at 2012-11-26T11:51
httpd.conf 裡的 DirectoryIndex 後面參數注意"順序"
Frederic avatar
By Frederic
at 2012-11-27T05:07
目前優先顯示 index.php 是因為你 index.php 放最前面
index.html 不是不顯示 只是不優先顯示

sshd不能開啟

Barb Cronin avatar
By Barb Cronin
at 2012-11-07T11:46
請問一下 我打dpkg -l | grep ssh 出現 ii libssh-4 0.5.2-1 tiny C SSH library ii openssh-client 1:5.9p1- ...

2012 Study-area酷學園群英會(11/17)

Dorothy avatar
By Dorothy
at 2012-11-06T21:54
活動議題: 酷學園群英會為酷學園(Study Area)每年的年度最大盛事,有別於歷屆活 動皆以IT業界相關議題為主 本次活動方向較為貼近一般個人與家庭用戶,設計各種講題與實做練習, 以深入淺出的方式讓參加者能夠輕鬆了解IT技術,進而解決各種常見的電腦問題 ...

cifs mount之後,怎樣開機自動mount?

Olga avatar
By Olga
at 2012-11-06T16:02
我用 # mount -t cifs //123.123.123.123/Volume_1 /home/test -o \ username=user,password=1234,codepage=cp950 把遠端samba的資料夾mount到本機了 一切也都正常 如果我希望機器開機之後 能自動把 ...

想請問傳輸層的UDP/TCP各點好處比較

Brianna avatar
By Brianna
at 2012-11-06T14:07
http://www.pcnet.idv.tw/pcnet/network/network_ip_tcp.htm 上面為參考網站 請問假如有一個封包排程選擇,我將UDP的封包優先權調高跟 我將TCP的優先權調高 請問對效能或效益上有什麼差異呢atat 請高手指點 - ...

關於 Wget 的 Bar...

Lucy avatar
By Lucy
at 2012-11-06T10:55
最近再用 C語言寫去抓網頁,所以用到了 Wget.exe 由於是因為在windows下,所以我有先抓 Wget.exe 不過早上忘記次放了哪個參數了... 造成我的進度條 變成這樣.... 真相 : http://imgur.com/3eopC 請問有人知道是怎麼回事嗎 = =a -- - ...