Welcome! Log In Create A New Profile

Advanced

Weird problem with redirects

Hamza Aboulfeth
July 15, 2016 06:00PM
Hello,

I have a weird problem that suddenly appeared on a client's website
yesterday. We have a redirection from non www to www and sometimes the
redirection sends somewhere else:

[root@genious33 nginx-1.11.2]# curl -IL -H "host: hespress.com" x.x.x.x
HTTP/1.1 301 Moved Permanently
Server: nginx/1.11.2
Date: Fri, 15 Jul 2016 21:54:06 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: http://1755118213
..com/
dbg-redirect: nginx

HTTP/1.1 302 Found
Server: nginx/1.2.1
Date: Fri, 15 Jul 2016 21:52:37 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Set-Cookie: orgje=JbgbADQAAgABACVbiVf__yVbiVdAAAEAAAAlW4lXAA--;
expires=Sat, 15-Jul-2017 21:52:37 GMT; path=/; domain=traffsell.com
Location: http://m.xxx.com/

HTTP/1.1 200 OK
Date: Fri, 15 Jul 2016 21:52:37 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Set-Cookie: __cfduid=d5624eb7a789e21f082873681ec36a41b1468619557;
expires=Sat, 15-Jul-17 21:52:37 GMT; path=/; domain=.hibapress.com; HttpOnly
X-Powered-By: PHP/5.3.27
X-LiteSpeed-Cache: hit
Vary: Accept-Encoding
X-Turbo-Charged-By: LiteSpeed
Server: cloudflare-nginx
CF-RAY: 2c307148667c3f77-YUL

Sometimes it acts as it should sometimes it redirect somewhere else

If you have any clue about what's happening, do help me :)

Thank you,
Hamza

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

Weird problem with redirects

Hamza Aboulfeth July 15, 2016 06:00PM

Re: Weird problem with redirects

Francis Daly July 16, 2016 03:48AM

Re: Weird problem with redirects

Hamza Aboulfeth August 13, 2016 01:38PM

Re: Weird problem with redirects

Andrei August 21, 2016 07:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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