rewrite to www EXCEPT for one directory

Edho Arief edho at myconan.net
Fri Sep 7 00:13:04 UTC 2012


On Fri, Sep 7, 2012 at 5:51 AM,  <eddy at sdf.org> wrote:
> maybe it's a stupid question, but: if 'permanent - returns permanent
> redirect with code 301' (http://wiki.nginx.org/HttpRewriteModule), then
> why one should use 'return 301 URL' instat?
>

I believe a "return 301 URL" doesn't do regexp processing compared to rewrite.



More information about the nginx mailing list