您的位置:首页 > 其它

地址重写 No input file specified的解决方法

2018-03-19 13:58 489 查看
把项目文件删除后,重新访问出现以下页面



apacheNo input file specifiedapache No input filespecified,今天是我们配置apache RewriteRule时出现这种问题,解决办法很简单如下打开.htaccess 在RewriteRule 后面的index.php教程后面添加一个“?”完整代码如下.htaccessRewriteEngine onRewriteCond $1 !^(index.php|images|robots.txt)RewriteRule ^(.*)$ /index.php?/$1 [L]如果是apache服务器出问题,看看是不是的Apache 把 .php 后缀的文件解析哪里有问题了。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: