码迷,mamicode.com
首页 > 其他好文 > 详细

nginx下No input file specified错误的解决

时间:2018-05-31 02:44:12      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:ecif   文件   access   file   tac   cond   span   nginx   tee   

在web服务的根目录下创建 .htaccess文件,设置一下内容:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?s=$1 [QSA,PT,L]

此时刷新即可正常访问!

nginx下No input file specified错误的解决

标签:ecif   文件   access   file   tac   cond   span   nginx   tee   

原文地址:https://www.cnblogs.com/zqunor/p/9114217.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!