首页 > 代码库 > 解决跳转出现 No input file specified.

解决跳转出现 No input file specified.

项目根目录中.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.