标签:ESS var html root dmi combine radmin director serve
apache 安装路径
/etc/httpd/conf.d/httpd-vhosts.conf
httpd-vhosts.conf 详情况
#端口
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin qq@qq.cn
DocumentRoot "/var/www/html/"
<Directory "/var/www/html/">
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
ErrorLog "logs/error_log"
CustomLog "logs/access_log" combined
</VirtualHost>
<VirtualHost *:80>
ServerAdmin qq@qq.cn
DocumentRoot "/var/www/html/qq"
ServerName www.qq.com
<Directory "/var/www/html/qq/">
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
</Directory>
ErrorLog "logs/www.qq.com.error_log"
CustomLog "logs/www.qq.com.access_log" combined
</VirtualHost>
标签:ESS var html root dmi combine radmin director serve
原文地址:https://www.cnblogs.com/cc2008/p/9755324.html