Welcome! Log In Create A New Profile

Advanced

Re: try_files internal redirect stripping QUERY_STRING?

November 13, 2009 05:38AM
On Fri, Nov 13, 2009 at 1:28 PM, Jeff Waugh <jdub@bethesignal.org> wrote:
> <quote who="Edho P Arief">
>
>> On Fri, Nov 13, 2009 at 11:32 AM, Jeff Waugh <jdub@bethesignal.org> wrote:
>> > If it's not in QUERY_STRING, it won't make it into PHP's $_GET.
>>
>> oh right it isn't.
>>
>> make it
>>
>> try_files $uri $uri/ /index.php?$args;
>
> Right... thanks, that works, but it feels unbelievably dirty. :-) Wondering
> if Igor regards this as intentional behaviour or not...
>
> - Jeff
>
> --
> linux.conf.au 2010: Wellington, NZ                http://www.lca2010.org.nz/
>
>     "Do they speak English in 'What'?" - Jules Winnfield, Pulp Fiction
>
>

I believe since it's usually used for parsing REQUEST_URI (clean urls,
etc), I don't think it's intended to pass QUERY_STRING at all.

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

try_files internal redirect stripping QUERY_STRING?

Jeff Waugh November 12, 2009 10:36PM

Re: try_files internal redirect stripping QUERY_STRING?

edogawaconan November 12, 2009 11:02PM

Re: try_files internal redirect stripping QUERY_STRING?

Jeff Waugh November 12, 2009 11:40PM

Re: try_files internal redirect stripping QUERY_STRING?

edogawaconan November 13, 2009 12:22AM

Re: try_files internal redirect stripping QUERY_STRING?

Jeff Waugh November 13, 2009 01:36AM

Re: try_files internal redirect stripping QUERY_STRING?

edogawaconan November 13, 2009 05:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready