Welcome! Log In Create A New Profile

Advanced

Re: Rewrite with permanent and last

Francis Daly
November 20, 2014 07:04PM
On Thu, Nov 20, 2014 at 02:22:48PM -0800, neubyr wrote:
> On Thu, Nov 20, 2014 at 2:15 PM, mex <nginx-forum@nginx.us> wrote:

Hi there,

> > nginx has a last flag too:
> >
> > http://nginx.org/en/docs/http/ngx_http_rewrite_module.html#rewrite
>
> Yes, I was trying to use it along with permanent and that doesn't work. May
> be 'permanent' implies 'last' as well.

The nginx 'permanent' flag does not imply the nginx 'last' flag.

How (and whether) they might map to apache flags is a separate question.

If you want in nginx to complete the processing of a request with a HTTP
301 response, you can "rewrite ... permanent" or "return 301 ...".

("""the processing stops and the redirect is returned to a client.""")

f
--
Francis Daly francis@daoine.org

_______________________________________________
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: 304
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