Logo Questions Linux Laravel Mysql Ubuntu Git Menu

`enable_query_strings` is Not Working Properly

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


xdbug works well. When I go to following URL:


I receive the following 404 error message:


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?

like image 423
Delirium tremens Avatar asked Dec 30 '22 22:12

Delirium tremens

1 Answers

To get this working perfectly, use:

$config['uri_protocol'] = "PATH_INFO";
$config['enable_query_strings'] = TRUE;
like image 78
Phil Sturgeon Avatar answered Jan 11 '23 10:01

Phil Sturgeon