`enable_query_strings`没有正常工作 [英] `enable_query_strings` is Not Working Properly

查看:220
本文介绍了`enable_query_strings`没有正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用CodeIgniter和xdebug。当我输入以下网址时:

I'm trying to use CodeIgniter, and xdebug. When I type in the following URL:

http://localhost/redux/index.php

xdbug运行良好。当我访问以下URL:

xdbug works well. When I go to following URL:

http://localhost/redux/index.php?

我收到以下404错误消息:

I receive the following 404 error message:

XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=124466969367132 



与第二个,错误的URL,然后我必须改变它。我使用 enable_query_strings = TRUE ,但我仍然得到错误。如何解决这个问题?

Eclipse lanches Firefox with the second, wrong URL, and then I have to change it. I'm using enable_query_strings = TRUE, but I'm still getting the error. How do I solve this problem?

推荐答案

要使此工作完美,请使用:

To get this working perfectly, use:

$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = TRUE;

这篇关于`enable_query_strings`没有正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆