Listen 80 #打开你要放开的端口(可以多个)
NameVirtualhost *:80 #打开虚拟端口
<VirtualHost *:80>
DocumentRoot "/var/www/html/zabbix/"
ServerName localhost
</VirtualHost> #最后配置你需要开放的路径
本文转自 转身撞墙角 51CTO博客,原文链接:http://blog.51cto.com/chentianwang/1699370
Listen 80 #打开你要放开的端口(可以多个)
NameVirtualhost *:80 #打开虚拟端口
<VirtualHost *:80>
DocumentRoot "/var/www/html/zabbix/"
ServerName localhost
</VirtualHost> #最后配置你需要开放的路径
本文转自 转身撞墙角 51CTO博客,原文链接:http://blog.51cto.com/chentianwang/1699370