标签:root common error_log 去掉 http alias include sts cal
apache 多站点配置Include conf/extra/httpd-vhosts.conf? ?开启? ? ? ?主配置文件里去掉注销
vim /usr/local/apache2/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin xxxx@xxxx.com
DocumentRoot "/usr/local/apache2/htdocs/文件"
ServerName 你的网站
ServerAlias web.你的网站
ErrorLog "logs/你的网站-error_log"
CustomLog "logs/你的网站-access_log" common
</VirtualHost>
第二个复制 改下网站名字就可以了...以此类推.....
标签:root common error_log 去掉 http alias include sts cal
原文地址:http://blog.51cto.com/7206952/2167102