try_files internal redirect stripping QUERY_STRING?

Jeff Waugh jdub at bethesignal.org
Fri Nov 13 09:28:04 MSK 2009


<quote who="Edho P Arief">

> On Fri, Nov 13, 2009 at 11:32 AM, Jeff Waugh <jdub at 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





More information about the nginx mailing list