我在 redhat linux 上裝了 apache,但是卻無法由瀏覽器連上主機
我做了下面的檢查但找不出原因
1. 檢查 apache status:
$sudo /etc/init.d/httpd status
主機回應:
httpd (pid 30588) is running...
2. 檢查 firewall:
$sudo /etc/init.d/iptables status
主機回應:
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
state NEW
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
看起來似乎一切正常?不知道各位有什麼建議?
--
我做了下面的檢查但找不出原因
1. 檢查 apache status:
$sudo /etc/init.d/httpd status
主機回應:
httpd (pid 30588) is running...
2. 檢查 firewall:
$sudo /etc/init.d/iptables status
主機回應:
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
state NEW
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
看起來似乎一切正常?不知道各位有什麼建議?
--
All Comments