求助!apache安装配置并成功启动apache服务,但不能访问!

求助!apache安装配置并成功启动apache服务,但不能访问!

已解决,因为防火墙的原因

楼主能否分享一下解决问题的经验.

PS:在下也遇到了同样的问题.
www# /usr/local/etc/rc.d/apache22 start
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
无法访问到.
终于搞定了!

QUOTE:
原文地址:http://www.linuxdiyf.com/viewarticle.php?id=76813

No such file or directory: Failed to enable the 'httpready' Accept Filter

决方法是:

#kldload accf_http
并将/boot/defaults/loader.conf中,以便下次启动自动装载模块

accf_data_load="YES"
accf_http_load="YES"

/usr/local/etc/rc.d/apapche22 start httpd 不启动,同时/var/log/httpd-error.log 显示

:[Sun Apr 15 20:22:48 2007] [alert] (EAI hostname nor

servname provided, or not known: mod_unique_id: unable to find IPv4 address o
Configuration Failed

解决方法:

注释掉 /usr/local/etc/apache22/httpd.conf 中的mod_unique_id 模块

我用的方法是service iptables stop就搞定了,呵呵

估计下次弄到防火墙的时候,也会用到这个的。谢谢