try_files internal redirect stripping QUERY_STRING?

Edho P Arief edhoprima at gmail.com
Fri Nov 13 08:18:04 MSK 2009


On Fri, Nov 13, 2009 at 11:32 AM, Jeff Waugh <jdub at bethesignal.org> wrote:
> <quote who="Edho P Arief">
>
>> I believe you can still get it with $_GET['var'] variable
>
> If it's not in QUERY_STRING, it won't make it into PHP's $_GET.
>
> - Jeff
>

oh right it isn't.

make it

try_files $uri $uri/ /index.php?$args;

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org





More information about the nginx mailing list