...
peizhi<VirtualHost *:80>
ServerName xxx.com
DocumentRoot project_dir
<Location />
AddDefaultCharset utf-8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
</Location>
</VirtualHost>
以上就是peizhi的内容,更多相关内容请关注PHP中文网(www.php.cn)!