标签:rect man nsf host tran ide none ane red
<VirtualHost *:80>
ServerAdmin webmaster@host.example.com
DocumentRoot "/web/webdata/pc"
ServerName www.test.com
ErrorLog "logs/www.test.com-error_log"
TransferLog "logs/www.test.com-access_log"
</VirtualHost>
<VirtualHost *:80>
ServerName wap.test.com
RedirectMatch permanent ^/(.*) http://m.test.com/$1
</VirtualHost>
<Directory />
# AllowOverride none
AllowOverride All
# Require all denied
Require all granted
</Directory>
标签:rect man nsf host tran ide none ane red
原文地址:http://www.cnblogs.com/emxm/p/7528379.html