1. 程式人生 > >解決跳轉出現 No input file specified.

解決跳轉出現 No input file specified.

yml follow options rule input ces 跳轉 file engine

項目根目錄中.htaccess文件修改為:

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>

解決跳轉出現 No input file specified.