解决跳转出现 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>

posted @ 2017-05-09 14:03  TOPHP  阅读(430)  评论(0编辑  收藏  举报