Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #157580

Re: Apache's strange behavior on Debian?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Jochen Spieker <ml@well-adjusted.de>
Newsgroups linux.debian.user
Subject Re: Apache's strange behavior on Debian?
Date Tue, 08 Sep 2015 19:50:01 +0200
Message-ID <q6vbP-2PL-9@gated-at.bofh.it> (permalink)
References <q6uSv-2sW-19@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Tue Sep 8 17:43:38 2015
Old-Return-Path <ml@well-adjusted.de>
X-Amavis-Spam-Status No, score=-12.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RP_MATCHES_RCVD=0.001] autolearn=ham autolearn_force=no
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=well-adjusted.de; s=20150803; t=1441734197; bh=nvMUrb12gIns+1KcWZwWzlOq6xKYnGTxlHQx/pmdNr8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=AjZFOvNkD0z3tylNhPtMdbZiP/e36a5Eqpjxk7TztvUoafVDoE1gMUb1TcNbjIFxx Jo6qE3L55W9ZgGX/BQhmELDBsu7bNqG1I/Y75thpnntfA0Jps+9OjZg/0+vlgrW0j9 sNlL63vdGY11f6zI/1dE0oWs7I57p8LfkQbRxi3WmIqKx+wBxAuREwG+/B6mf6woN8 BNXSyKnPZeWVGdeEL+8wzV2+a1CxuEwzRwOXgg/OJavOMDauDlvut/lBGJgqQdbQCg brontBaUHBCc4f7KSoubUCwl9JJvJp11wDftf2OjKqlZupHqTQai6L/Jc5YzJzkdYe ykQVI49wuVKTw==
Mail-Followup-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L2YZAWjVjAQ1Un1Q"
Content-Disposition inline
X-Message-Flag Schoenen Gruss vom BKA
X-Gnupg-Fingerprint 4423 67D2 7818 ACE5 06DF 3645 538A EE39 436F 8597
X-Jabber-ID solexx@jabber.ccc.de
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/697015
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20150908174316.GY17109@well-adjusted.de
Approved robomod@news.nic.it
Lines 73
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 8 Sep 2015 19:43:16 +0200
X-Original-Message-ID <20150908174316.GY17109@well-adjusted.de>
X-Original-References <CAKCDg-A03Ty9jTRYqsrn9tFD20gWx-_46pmE4_xqLGvcey5SiQ@mail.gmail.com>
Xref csiph.com linux.debian.user:157580

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Mizuki,

would you mind if I respond on the list? 

Regards,
Jochen.

mizuki:
> Hi John,
> 
> Just to clarify, I have one Apache installation on a frond-end proxy, and
> one on a backend server. On the backend, I have 2 Apache virtual hosts
> configured on the backend individually called ServerA.local and
> ServerB.local, 2 Apache virtual hosts on the proxy called ServerA.com and
> ServerB.com for corresponding virtual hosts on the backend. So the traffic
> is expected to like below:
> 
> https://ServerA.com => https://ServerA.local
> https://ServerB.com => https://ServerB.local
> 
> I have "ProxyPreserveHost On" on the proxy side for both apache virtual
> hosts, also had "%{X-Forwarded-For}i %v %l %u %t \"%r\" %>s %b" options for
> verbose logging on the backend, everytime when I go https://ServerB.com,
> the contents of https://ServerA.com get displayed, on the proxy logging
> side, I do see the correct URL https://ServerB.com when the requests coming
> in, but on the backend, I see serverA-local.log records all the activities,
> clearly the traffic has been directed to the wrong Apache virtual host on
> the backend. Since everything is displayed fine w/o going through proxy
> (i,e: https://ServerB.local & https://ServerA.local displays everything
> fine), I assume something is broken on the Apache proxy? This is actually
> very easy to produce, no complicated rules on both backend and proxy, all
> most basically stuff...
> Thanks.
> 
> Mizuki

-- 
If I was Mark Chapman I would have shot John Lennon with a water pistol.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Re: Apache's strange behavior on Debian? mizuki <mizuki0621@gmail.com> - 2015-09-08 19:30 +0200
  Re: Apache's strange behavior on Debian? Jochen Spieker <ml@well-adjusted.de> - 2015-09-08 19:50 +0200
  Re: Apache's strange behavior on Debian? Jochen Spieker <ml@well-adjusted.de> - 2015-09-08 22:20 +0200

csiph-web