把項(xiàng)目文件刪除后为鳄,重新訪問(wèn)出現(xiàn)以下頁(yè)面
apacheNo input file specified
apache No input filespecified,今天是我們配置apache RewriteRule時(shí)出現(xiàn)這種問(wèn)題,解決辦法很簡(jiǎn)單如下
打開.htaccess 在RewriteRule 后面的index.php教程后面添加一個(gè)“?”
完整代碼如下
.htaccess
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt)
RewriteRule ^(.*)$ /index.php?/$1 [L]
如果是apache服務(wù)器出問(wèn)題,看看是不是的Apache 把 .php 后綴的文件解析哪里有問(wèn)題了。