Welcome! Log In Create A New Profile

Advanced

Re: Rewrite with permanent and last

neubyr
November 19, 2014 05:58PM
On Wed, Nov 19, 2014 at 2:44 PM, Francis Daly <francis@daoine.org> wrote:

> On Wed, Nov 19, 2014 at 02:37:11PM -0800, neubyr wrote:
>
> Hi there,
>
> > Is it possible to rewrite URL with HTTP 301 and make that last rule in
> > current ruleset?
>
> Is that not what the flag "permanent" does?
>
> http://nginx.org/r/rewrite
>
> If not, can you show the config snippet, the request you make, and the
> response you get instead of the response you expect?
>

Thanks for the reply Francis. May be permanent 301 redirect also implies
last, but I couldn't find that in documentation. I don't have any config to
share as I am just exploring options and that's the only rule I have (so it
doesn't matter right now but I may need it in future).

-
N
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Rewrite with permanent and last

neubyr November 19, 2014 05:38PM

Re: Rewrite with permanent and last

Francis Daly November 19, 2014 05:46PM

Re: Rewrite with permanent and last

neubyr November 19, 2014 05:58PM

Re: Rewrite with permanent and last

mex November 20, 2014 05:15PM

Re: Rewrite with permanent and last

neubyr November 20, 2014 05:24PM

Re: Rewrite with permanent and last

B.R. November 20, 2014 05:30PM

Re: Rewrite with permanent and last

Francis Daly November 20, 2014 07:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready