Re: Re: ProxyPreserveHost On

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Thanks tom for the reply.

about your request. This is the first call... others log is in http://mysite.com/bla/bla/bla

I want that only http header will be https://mysite.com/bla/bla/bla and not http://mysite.com/bla/bla/bla

many thanks.

Cheers,
Mauri

----------------------------------------------------------
https://mysite.com/arsys/

GET /arsys/ HTTP/1.1
Host: mysite.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.2) Gecko/20100115 Firefox/3.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: it-it,it;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Cookie: IP-Restriction-GUID="84e039146ac96dec:-54437c22:1283941439a:-7fd1"

HTTP/1.1 302 Moved Temporarily
Date: Mon, 26 Apr 2010 14:02:09 GMT
Server: Apache-Coyote/1.1
Location: http://mysite.com/arsys/shared/login.jsp?/arsys/
Content-Length: 0
Set-Cookie: JSESSIONID=B1A3E37C4BA0882B288AB46596E18BA4; Path=/arsys
Set-Cookie: q=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: LB-COOKIE=rd30o00000000000000000000ffff0a134864o8080; path=/
Connection: close
Content-Type: text/plain; charset=UTF-8
----------------------------------------------------------


2010/4/26 Tom Evans <tevans.uk@googlemail.com>
On Mon, Apr 26, 2010 at 2:11 PM, Mauri <lain80@xxxxxxxxx> wrote:
>
> One more bit.

Really? Sure it's not just the same things being repeated over and
over again, without any testing or actual explanation of the problem?

>
> Why I don't get a secure connection on the browser? I type
> https://mysite.com and get redirected to http://mysite.com

Because your proxied application tells it to do so. The only apache
directive that affects redirects from proxies is the ProxyPassReverse
directive. Basically it says 'if you see a redirect like
'${A}/blah/blah/', change it to ${B}/blah/blah/'.

Your ProxyPassReverse says to replace http://10.19.72.127:8080/ with
https://mysite.com/ .

If you think that apache is somehow doing this redirect, please show
some evidence, eg browser header logs from livehttpheaders, or a
complete tcpdump on the proxy showing http traffic from the client to
the proxy, from the proxy to the backend, from the backend back to the
proxy and from the proxy back to the client.

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux