Welcome! Log In Create A New Profile

Advanced

Re: Detects that the server is redirecting the address request cycle

Maxim Dounin
September 13, 2011 07:38AM
Hello!

On Tue, Sep 13, 2011 at 07:32:06AM -0400, liushaobo wrote:

> hi all
>
> add " if ($http_referer ~* "www.test.com") {
> rewrite ^/(.*)$ http://www.xxx.com permanent;
> }"
>
> open browser 出现 “
> This redirect page is incorrect
> Detects that the server is redirecting the address request cycle“
>
> remove " if ($http_referer ~* "www.test.com") {
> rewrite ^/(.*)$ http://www.xxx.com permanent;
> }"
> are normal

You've asked nginx to do infinite redirect, and you've got it.
It's not clear what you are asking about.

Maxim Dounin

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

Detects that the server is redirecting the address request cycle

liushaobo September 13, 2011 05:34AM

Re: Detects that the server is redirecting the address request cycle

Maxim Dounin September 13, 2011 07:38AM

Re: Detects that the server is redirecting the address request cycle

Sharl.Jimh.Tsin September 13, 2011 08:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 268
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