Apache的虚拟主机 [英] Apache virtual host

查看:133
本文介绍了Apache的虚拟主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜做这个虚​​拟主机配置就可以了? I,M试图测试它在我的本地机器,它穿上,T显示页面。我禁用防火墙将所有的端口开放,做我必须做更多的事情要打开的端口?或虚拟主机配置是错误的。

Hi does this virtual host configuration is ok?. I,m trying to test it in my local machine and it don,t show the page. I disable the firewall to have all the ports open, do i have to do anything more to open the ports? or the virtual host configuration is wrong.

<虚拟主机是linux1:8890>

#通用设置虚拟主机
    的DocumentRoot/ SRV /网络/ htdocs中/网页1
    服务器名称是linux1:8890
< /虚拟主机>

推荐答案

你加收听8890 地方?阿帕奇为了听那个端口需要这个命令。

Did you add Listen 8890 anywhere? Apache needs this command in order to listen to that port.

这篇关于Apache的虚拟主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆