免费注册 查看新帖 |

Chinaunix

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

[Web] httpd-2.2服务在AIX上不响应HTTP request [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-24 11:31 |只看该作者 |倒序浏览
大家好,我在AIX53的机器上装了httpd-2.2.11-1.aix5.1.ppc.rpm, 以及相关的依赖包。这些都是从http://oss4aix.org/download/RPMS下载的。
下载安装,配置,然后运行apachectl start,
用ps -ef |grep httpd 可以看到httpd服务正在运行。
hv8plus04 amp $ ps -ef|grep httpd
  apache 221314 286872   0 05:46:42      -  0:00 /opt/freeware/sbin/httpd -k start
    root 286872      1   0 05:20:56      -  0:00 /opt/freeware/sbin/httpd -k start
  apache 332004 286872   0 05:46:42      -  0:00 /opt/freeware/sbin/httpd -k start
  apache 348286 286872   0 05:46:42      -  0:00 /opt/freeware/sbin/httpd -k start
  apache 372948 286872   0 05:46:42      -  0:00 /opt/freeware/sbin/httpd -k start
  apache 393362 286872   0 05:46:46      -  0:00 /opt/freeware/sbin/httpd -k start

然后,我又在/opt/freeware/etc/httpd/conf/extra目录下面加入一个test.conf文件:
  1. Alias /web "/web"
  2. <Directory "/web">
  3.         Options Indexes
  4.         AllowOverride All
  5.         Order allow,deny
  6.         Allow from all
  7. </Directory>
复制代码

/web目录是存在的,我在里面创建了index.html文件。

接着,我用浏览器和wget访问该服务器 http://ip/web/index.html,发现httpd服务器没有响应。
请问这是怎么回事呢? 谢谢!

论坛徽章:
0
2 [报告]
发表于 2009-04-25 13:46 |只看该作者
你先检查你web server启的端口,检查日志。可以通过telnet  ip 80 这样方式检测端口是有有响应,或者在windows中安装一个httpwatch 来检测。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP