.htaccess文件按照系统打开相应的重写规则
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
#win7
#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
#win8
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>