I have written a php code to solve the problem. <?php $uri = $_SERVER['REQUEST_URI']; $qs = $_SERVER['QUERY_STRING']; $uri = strtok($uri, '?'); $qs = $_SERVER['QUERY_STRING'] = strtok('?'); parse_str($qs, $qs_arr); $_REQUEST = array_merge($_REQUEST, $qs_arr); My blog post here: http://seaprince.cn/nginx-query_string-bug/by seaprince - Nginx Mailing List - English
Hello all, I found a problem when using try_files, it seems a tiny bug here. Configuration section: location / { root /home/tee/abc.com; try_files $uri /t.php; } other configuration sections like fastcgi settings are omitted. In t.php file, I have some lines of code there: <?php var_dump($_GET['q']); print_r($_SERVER); Now we will try to visit the site http:by seaprince - Nginx Mailing List - English