<VirtualHost *:80>
ServerAdmin [email protected]
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>
时间: 2024-11-06 23:03:06