apache安装的问题。
在本机装了VM虚拟机,虚拟机上虚拟了CentOS5.5,安装了apache.
CentOS5.5访问网络正常,可以访问互联网。
windows本机也可以ssh登录CentOS进行操作。
之后配置了apache虚拟主机,成功启动了httpd,绑定了80端口号。
在windows的host中配置了虚拟主机的ServerName和CentOS5.5的ip地址。
在windows的浏览器中输入域名,访问失败?
在apache的access_log中内容为空。
存在error_log,如下
_______________
[root@chendong logs]# cat error_log
[Thu May 26 11:08:53 2011] [notice] SELinux policy enabled; httpd running as context root:system_r:initrc_t
[Thu May 26 11:08:53 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu May 26 11:08:53 2011] [notice] Digest: generating secret for digest authentication ...
[Thu May 26 11:08:53 2011] [notice] Digest: done
[Thu May 26 11:08:53 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu May 26 11:08:53 2011] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
_______________
存在
[root@chendong logs]# cat ssl_error_log
[Thu May 26 11:08:53 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 26 11:08:53 2011] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
[Thu May 26 11:08:53 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 26 11:08:53 2011] [warn] RSA server certificate CommonName (CN) `localhost.localdomain' does NOT match server name!?
————————————————————————————
请教大家是什么原因?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论