LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon CustomLog logs/access_log vcommon <Directory /www/hosts> ExecCGI is needed here because we can"t force CGI execution in the way that ScriptAlias does Options FollowSymLinks ExecCGI </Directory>
复制代码
(3)接上去是关头局部
RewriteEngine On a ServerName derived from a Host: header may be any case at all RewriteMap lowercase int:tolower