由 lotussutol 在 04-08-2003 12:25 发表:
apache WEB sever 配置的问题
我昨天刚装上redhat9 安装时选择了 web server 项,第一次在redhat上用apache
我先看了看httpd.conf,没做什么改动,退出来
我的httpd.conf 文件里DocumentRoot 在/var/www/目录 我copy了一个index.html到该目录下
然后想测试一下行不行, httpd -f /etc/httpd/conf/httpd.conf结果如下
./httpd -f /etc/httpd/conf/httpd.conf
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
再用ps -aux |grep httpd 查看时如下
ps -aux |grep httpd
root 1955 0.0 1.8 18076 2352 ? S 20:29 0:01 ./httpd
apache 1956 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1957 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1958 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1959 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1960 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1961 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1962 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
apache 1963 0.0 1.8 18100 2316 ? S 20:29 0:00 [httpd]
root 2425 0.0 0.4 3568 616 pts/1 S 21:15 0:00 grep httpd
但是在另一台电脑上打不开这里的页面 说找不到服务器
我这是什么地方错了?
由 winix 在 04-08-2003 12:31 发表:
关闭防火墙
Winix Is Not In Xanadu.
由 lotussutol 在 04-08-2003 13:19 发表:
再请教
怎么关掉防火墙? 再请教一下!!! 安装后我没有配置防火墙
由 winix 在 04-08-2003 13:34 发表:
console -> setup -> firewall configuration
Winix Is Not In Xanadu.
由 chenxee 在 04-08-2003 14:30 发表:
asdf
asdf
由 chenxee 在 04-08-2003 14:31 发表:
sorry刚才按错了.楼主,你是把index.html拷在哪里了?是/var/www还是/var/www/html?
由 hhl00 在 04-08-2003 14:46 发表:
我刚刚解决这个问题,不必关闭防火墙,你甚至使用“高级”都可,你只要将“Trusted Devices”后对应的网卡选中、然后在“Allow incoming”后选中WWW(HTTP)即可。操作步骤为:按Crtl+Alt+F1进入虚拟终端,以Root用户进入后,键入Setup,出现选择“Firewall conf