rewrite query string

Thomas Seifert thomas-lists at
Mon May 12 13:44:35 MSD 2008

Hey folks,

I simply can't figure out how to rewrite the query string in nginx.
I need to turn urls like foo.php?f=111 into foo.php?111 and similar things.
 From reading past messages in the lists it seems like I can only match 
on query string with the "if" but
there's no way to rewrite the query string itself.
Is that still correct? No workaround available?

Thanks in advance,


More information about the nginx mailing list