`
asstudio
  • 浏览: 7207 次
社区版块
存档分类
最新评论

解决Godaddy 使用有关框架伪静态设置时出现No input file specified 的错误

 
阅读更多
解决Godaddy 使用 YII 出现No input file specified 的错误
在根目录新建一个文件 : php5.ini
文件内容:cgi.fix_pathinfo=1

并且修改  .htaccess 为:主要是最后一行要注意

Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . /index.php


实践证明管用
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics