免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 26848 | 回复: 74
打印 上一主题 下一主题

[Web] 求助!Apache启动后,内部通过IE浏览不能显示,本地则可以。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-06 12:58 |显示全部楼层 |倒序浏览
请教,

我刚装好的Apache服务器,服务可以正常启动。

在本地服务器通过浏览器输入 http://IP:80      可以正常显示,显示内容是“It works!”,

但是如果通过内部局域网其他IE浏览器 输入 http://IP:80   ,怎没有显示。

请问这个问题怎么办?

我的平台:
Redhat Enterprise 5
Apache 2

谢谢!

论坛徽章:
0
2 [报告]
发表于 2009-03-06 13:03 |显示全部楼层
补充内容:

1、我可以ping 通该台服务器,
2、我修改过httpd.conf文件中的 “IP:80"   字段

论坛徽章:
0
3 [报告]
发表于 2009-03-06 14:39 |显示全部楼层
原帖由 我是DBA 于 2009-3-6 14:31 发表
iptables -F
试一下看看




你们说的我之前都就做过了,结果还是一样。

论坛徽章:
0
4 [报告]
发表于 2009-03-06 17:42 |显示全部楼层
不是空白,就是打不开网页,然后脱机。

论坛徽章:
0
5 [报告]
发表于 2009-03-08 18:07 |显示全部楼层
原帖由 chenyx 于 2009-3-6 20:25 发表
还有,看看Linux的apache日志,看看有没有Lan机器的访问记录
还有,iptables -L -n 看下iptables的设置




一切正常,没有特殊的地方

论坛徽章:
0
6 [报告]
发表于 2009-03-09 11:52 |显示全部楼层
原帖由 chenyx 于 2009-3-9 09:33 发表
SELinux的问题本地也看不到




你说的这个Selinux我一早就关掉了。

想想还有其他的可能吗?

论坛徽章:
0
7 [报告]
发表于 2009-03-09 13:49 |显示全部楼层
原帖由 cuikunlei 于 2009-3-9 13:14 发表
netstat -an | grep 80
看看80坚听在什么位置上~!





如下:

[root@RHMYSQL5 ~]# netstat -an | grep 80
tcp        0      0 :::80                       :::*                        LISTEN      
unix  2      [ ACC ]     STREAM     LISTENING     9680   /tmp/scim-bridge-0.3.0.socket-0@localhost:0.0
unix  2      [ ACC ]     STREAM     LISTENING     8674   /tmp/orbit-root/linc-b4f-0-3048ef437dc80
unix  2      [ ACC ]     STREAM     LISTENING     9014   /tmp/orbit-root/linc-ba4-0-f64c60e9b580
unix  2      [ ACC ]     STREAM     LISTENING     9134   /tmp/orbit-root/linc-bbd-0-39d80c058a230
unix  3      [ ]         STREAM     CONNECTED     9480   /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     9280   @/tmp/dbus-eXCx0qbRrA
unix  3      [ ]         STREAM     CONNECTED     9137   /tmp/orbit-root/linc-bbd-0-39d80c058a230
unix  3      [ ]         STREAM     CONNECTED     9017   /tmp/orbit-root/linc-ba4-0-f64c60e9b580
unix  3      [ ]         STREAM     CONNECTED     8897   /tmp/orbit-root/linc-b4f-0-3048ef437dc80
unix  3      [ ]         STREAM     CONNECTED     5809   
[root@RHMYSQL5 ~]#

论坛徽章:
0
8 [报告]
发表于 2009-03-09 13:53 |显示全部楼层
原帖由 jerrywjl 于 2009-3-9 12:39 发表
那就见鬼了!你光是说没错没问题,但是什么叫做没错没问题都很怀疑的说。




你把需要的东西罗列出来,我都可以回答你要的配置。

论坛徽章:
0
9 [报告]
发表于 2009-03-09 13:58 |显示全部楼层
原帖由 chenyx 于 2009-3-6 20:25 发表
还有,看看Linux的apache日志,看看有没有Lan机器的访问记录
还有,iptables -L -n 看下iptables的设置




你要的东西,请看如下:
[root@RHMYSQL5 ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:67
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:67

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            192.168.122.0/24    state RELATED,ESTABLISHED
ACCEPT     all  --  192.168.122.0/24     0.0.0.0/0           
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
[root@RHMYSQL5 ~]#





还有selinux的配置,如下:

[root@RHMYSQL5 ~]# more /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@RHMYSQL5 ~]#

论坛徽章:
0
10 [报告]
发表于 2009-03-09 22:10 |显示全部楼层
原帖由 rhlei 于 2009-3-9 17:58 发表
没有显示是什么概念?可否截图上来?

另外,你的配置文件发下。




啥意思?不太明白。

你要的是什么配置?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP