String replace on rewrite module

Alex Sergeyev asergeyev at dyn.com
Tue Jul 20 17:39:34 MSD 2010


Oh, missed part about nestedness to more levels...

You just can write multiple rewrites for 1 level, 2 levels and so on for
up to 9 levels deep. Would that be enough?

You can also build map of all possible redirects from all "virtual
folder names to "underscored" and use it faster than rewrite everything
at once.

You can also build recursive redirects like in my example, without break
to make nginx repeat cycle of rewrites again, up to 10 times.


Alex




More information about the nginx mailing list