问题:
apache 环境下访问 url 显示:
No input file specified.
解决:
找到apache配置重写文件 .htaccess,在 RewriteRule 后面的 index.php 后面添加一个问号 “?”
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改成
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
问题:
apache 环境下访问 url 显示:
No input file specified.
解决:
找到apache配置重写文件 .htaccess,在 RewriteRule 后面的 index.php 后面添加一个问号 “?”
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改成
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]