第一、ApacheOptions +FollowSymlinks -MultiviewsRewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
第二、Nginxlocation / {if (!-e $request_filename) {rewrite ^(.*)$ /index.php?s=$1 last;break;}}下次需要用的时候直接复制去使用。


