这是 htacces 还是其他东西

发布于 2024-09-26 23:46:19 字数 1459 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

尛丟丟 2024-10-03 23:46:19

未找到文件时显示“No input file specified”,并且PHP运行在CGI模式下。这两个错误都表明找不到该文件。

为了使 file.php/blablabla 工作,您必须启用 路径信息。使用 .htaccess 的示例:

AcceptPathInfo On

"No input file specified" is displayed when a file is not found, and PHP is running in CGI mode. Both errors indicate that the file cannot be found.

In order to make file.php/blablabla work, you've to enable Path Info. Example using .htaccess:

AcceptPathInfo On
转瞬即逝 2024-10-03 23:46:19

项目托管在 godaddy 上,godaddy 的 CI 项目有问题。

这是解决方案。

在 config/config.php 中进行这两项更改。

$config['index_page'] = "index.php?";
$config['uri_protocol'] = "QUERY_STRING";

现在我想我的ajax调用有问题。

project is hosted on godaddy and godaddy has problem with CI project.

Here is the solution.

in your config/config.php, make these two changes.

$config['index_page'] = "index.php?";
$config['uri_protocol'] = "QUERY_STRING";

thought now i have problem with ajax calls.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文