Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #157580
| From | Jochen Spieker <ml@well-adjusted.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Apache's strange behavior on Debian? |
| Date | 2015-09-08 19:50 +0200 |
| Message-ID | <q6vbP-2PL-9@gated-at.bofh.it> (permalink) |
| References | <q6uSv-2sW-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[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
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