Rewriting using query args?

Marcin Kasperski Marcin.Kasperski at softax.com.pl
Tue Nov 6 20:32:33 MSK 2007


Is it possible to rewrite url using query args? I mean rewriting sth
like
      /get_file?file=bleh.zip
to
      /download/bleh.zip
?

I tried the naive solution, but it seems rewrite regexps does not have
access to query args at all...

--
----------------------------------------------------------------------
| Marcin Kasperski   |  A reusable framework that is developed by
| http://mekk.waw.pl | itself will probably not be very reusable.
|                    |                  (Martin)
----------------------------------------------------------------------






More information about the nginx mailing list