<font><font face="trebuchet ms,sans-serif">It's based on a DB lookup. Currently I am using NGINX + Redis and there are about a million URLs.</font></font><div><font><font face="trebuchet ms,sans-serif"><br clear="all">
</font></font><div><font face="'trebuchet ms', sans-serif">Aleem</font></div>
<br><br><div class="gmail_quote">On Thu, May 23, 2013 at 6:37 PM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message <CA+=<a href="mailto:Uhp_pepXsb6Q_ORQpYe%2BAhWSh_yytRNjKBzBBA_FxwJb28Q@mail.gmail.com">Uhp_pepXsb6Q_ORQpYe+AhWSh_yytRNjKBzBBA_FxwJb28Q@mail.gmail.com</a>><br>
<div class="im"><br>
>I currently use nginx + redis + lua module to setup redirects for close to<br>
>a million old URLs that have been ported to a new platform.<br>
<br>
</div>Are the redirects based on rules ?<br>
<br>
Ie, something like:<br>
<br>
/article?ID=##### -> /#####<br>
<br>
or is it a database lookup to figure out the mapping ?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG | TCP/IP since RFC 956<br>
FreeBSD committer | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></span></blockquote></div><br></div>