标签:blog http io ar os sp on log bs
apache在httpd-vhosts.conf中 配置二级域名或者泛域名:
<VirtualHost *:80>
ServerAdmin 846606478@qq.com
DocumentRoot "D:/workspace/php_core"
ServerName zp.com
ServerAlias bbs.test.com blog.test.com #*.test.com 用*表示泛域名 #设置多个二级域名 bbs.test.com blog.test.com
ServerAlias my.test.com
ErrorLog "logs/my.test.com-error.log"
CustomLog "logs/my.test.com-access.log" common
<Directory />
Options Indexes
Order allow,deny
IndexOptions Charset=UTF-8
Allow from all
</Directory>
</VirtualHost>
标签:blog http io ar os sp on log bs
原文地址:http://www.cnblogs.com/andydao/p/4114061.html