redirect urls
S Ahmed
sahmed1020 at gmail.com
Mon Oct 15 19:55:53 UTC 2012
so like this:
location = /posts/get_post.asp {
rewrite ^ /posts/$arg_post_id;
}
correct?
On Mon, Oct 15, 2012 at 12:16 PM, Edho Arief <edho at myconan.net> wrote:
> On Mon, Oct 15, 2012 at 9:26 PM, S Ahmed <sahmed1020 at gmail.com> wrote:
> > So when nginx responds with a 301, is that an additional rountrip for the
> > user?
> >
> > Could I somehow maintain the url for the client, but internally re-write
> it
> > to the updated url so my web application can handle it correctly?
> >
>
> rewrite ^ /posts/$arg_post_id;
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121015/065382e6/attachment.html>
More information about the nginx
mailing list