vhosts.conf
<VirtualHost *:80>
DocumentRoot "E:\sasa" ServerName sasa.cn ServerAlias sasa.cn <Directory "E:\sasa"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory></VirtualHost>
.htaccess
<IfModule mod_rewrite.c>
Options +FollowSymlinks -MultiviewsRewriteEngine onRewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]</IfModule>