Welcome! Log In Create A New Profile

Advanced

Re: Site URL not completed. Bad redirection ?

Francis Daly
October 30, 2012 03:38PM
On Tue, Oct 30, 2012 at 11:11:31AM -0400, gerard breiner wrote:

Hi there,

> I replaced :
>
> location ^~/SOGo {
> proxy_pass http://127.0.0.1:20000;
> proxy_redirect http://127.0.0.1:20000 default;
>
> By
>
> location /SOGo {
> proxy_pass http://127.0.0.1:20000/;
> }

I don't think that that is what I suggested. How does that help "GET /"
become "GET /SOGo"?

> And I get the URL I expected https://sogo.mydomain/SOGo but when I want
> authenticate to I get the message :
>
> "You can not authenticate because the witnesses (cookies) on your browser is
> disabled. Enable cookies in your web browser and try again."

If I was trying to fix this, I would try to learn what the expected
http request/response sequence was; and then see what the actual http
request/response sequence is; and then compare the two.

So: starting from the nginx machine, what "curl -i" query or queries
should you use to do a login? (Possibly the logs of the sogo server will
tell you.)

What happens when you make those queries of (a) the sogo server; and
(b) the nginx server?

What is different?

Specifically, are there Set-Cookie lines that refer to the sogo internal
hostname that should really refer to the nginx external hostname?

Good luck with it,

f
--
Francis Daly francis@daoine.org

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

Site URL not completed. Bad redirection ?

gerard breiner October 29, 2012 09:57AM

Re: Site URL not completed. Bad redirection ?

Francis Daly October 29, 2012 04:58PM

Re: Site URL not completed. Bad redirection ?

gerard breiner October 30, 2012 11:11AM

Re: Site URL not completed. Bad redirection ?

Jonathan Matthews October 30, 2012 01:16PM

Re: Site URL not completed. Bad redirection ?

Francis Daly October 30, 2012 03:38PM

Re: Site URL not completed. Bad redirection ?

gerard breiner October 31, 2012 07:02AM

Re: Site URL not completed. Bad redirection ?

Francis Daly October 31, 2012 07:50PM

Re: Site URL not completed. Bad redirection ?

gerard breiner November 02, 2012 05:50PM

Re: Site URL not completed. Bad redirection ?

Francis Daly November 03, 2012 06:24AM

Re: Site URL not completed. Bad redirection ?

Francis Daly November 03, 2012 06:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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