配置如下:
<VirtualHost *>
DocumentRoot /home/www/config/v2/fp12/aifang-web
ServerName www.fp12.dev.aifang.com
ServerAlias fp12.dev.aifang.com *.fp12.dev.aifang.com
<Location />
AddDefaultCharset utf-8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
</Location>
</VirtualHost>
雷雷