Welcome! Log In Create A New Profile

Advanced

Re: redirect 301 alias domain

Francis Daly
March 04, 2014 07:16AM
On Tue, Mar 04, 2014 at 06:10:31AM -0500, zuckbin wrote:

Hi there,

> in firebug i can see this many times:
>
> GET www.aaa.com 301 Moved Permanently aaa.com
>
> it seem this is not redirect well

This seems to say the when you ask for http://www.aaa.com/, you are
redirected to http://aaa.com/.

The config fragment you provided showed that you should be redirected to
http://www.bbb.com/.

I suspect that the config fragment you provided is not the relevant part
of the configuration file that is actually being used by nginx.

The output of "curl -i http://www.aaa.com/" will probably be useful to
see if your nginx is being used at all.

f
--
Francis Daly francis@daoine.org

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

redirect 301 alias domain

zuckbin March 03, 2014 10:43AM

Re: redirect 301 alias domain

Francis Daly March 03, 2014 11:38AM

Re: redirect 301 alias domain

Maxim Dounin March 03, 2014 11:48AM

Re: redirect 301 alias domain

zuckbin March 04, 2014 06:10AM

Re: redirect 301 alias domain

Francis Daly March 04, 2014 07:16AM

Re: redirect 301 alias domain

zuckbin March 04, 2014 08:27AM

Re: redirect 301 alias domain

zuckbin March 04, 2014 08:30AM

Re: redirect 301 alias domain

Francis Daly March 04, 2014 02:50PM

Re: redirect 301 alias domain

zuckbin March 05, 2014 03:18AM

Re: redirect 301 alias domain

Francis Daly March 05, 2014 08:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready