系统是在虚拟机中装的,网络模式是nat。 安装好以后,输入 # /usr/local/etc/rc.d/apache22 start 显示 Performing sanity check on apache22 configuration Syntax OK Starting apache22 用浏览器登陆127.0.0.1无反应 输入 # /usr/local/etc/rc.d/apache22 stop 显示 apache22 not running?(check var/run/httpd.pid) =。= 请各位高手指教。。先谢谢了
by quzhihao266 - BSD - 2009-07-11 23:01:59 阅读(1595) 回复(4)
[root@www conf]# /usr/local/apache/bin/apachectl start [Mon Aug 30 11:23:53 2004] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName /usr/local/apache/bin/apachectl start: httpd started 应如何在httpd.conf设置呢?
我正确安装了apache,但在执行了 # ./apachectl start 后出现 httpd: Cannot find ELF Killed ./apachectl start: httpd could not be started 请问是什么原因?谢谢!
我在RH AS4 LINUX下配置了一个apache服务器,每次有人登录屏幕就出现一堆字符(我想应该是日志信息吧~0~).老影响使用.后我把它改成手工启动后就没有这个问题.在这之后我发现其它的服务只要有人在线访问也有这样的情况. 大家说有没有好的方法让它不在屏幕显示而又不用手工启动?
如何用root开机自动启动apache?我的一个cgi不用root启动apache没法执行,结果是空的数据。必须用root登陆,然后apachetcl start才行。 这个cgi是用bash写的。 有解决方法吗?
在apache中可以对域名下一个目录设置host头吗? 如我想把www.abc.com/ab/下设置一个host头Cache-Control "no-cache",如果能怎么做丫?
我在从新启动的apache1.3.36版本的软件,但是在启动时候发生/usr/local/apache/bin/apachectl start : httpd started 错误 启动不起来 本人水平很糟糕,虚心请教大家,希望大家能帮帮忙 [ 本帖最后由 HonestQiao 于 2006-6-29 11:46 编辑 ]
在apache的配置文件httpd.conf中加入