Re: Interesting Problem

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

 




On Mon, Nov 26, 2012 at 3:00 PM, Chris Arnold <carnold@xxxxxxxxxxxxxxxxxxx> wrote:
On Nov 25, 2012, at 10:17 PM, Kevin Castellow <kev.castellow@xxxxxxxxx> wrote:

Yes.  That is exactly what a proxy would do for you. 
Turn on logging to know for sure.

Ok, I disabled the last proxy pass entry to the all vhost and now I do not get the webmail login. What I was trying to do with the proxy pass entry was proxy all https://mail.domain.com traffic to the email server. The commented out proxy pass looks like:

What do you mean by all vhosts??? You need this only in the mail.domain.com vhost, if you have put it everywhere no wonder you are getting the mail server page when you go to the web server IP link.
 
Proxypass / https://192.168.124.3/
Proxypassreverse / https://192.168.124.3/

Nothing wrong with this concept except:

- Proxypassreverse should be ProxypassReverse so hope its typo here
- You need to set "ProxyRequest off" in order to have reverse proxy
- As mentione above you need the above 2 statements ONLY in the vhost you want to proxy


How do I go about proxying https://mail.domain.com traffic to the email server?

On Sun, Nov 25, 2012 at 10:14 PM, Chris Arnold <carnold@xxxxxxxxxxxxxxxxxxx> wrote:
We have a problem and I am trying to either confirm or deny it being an apache config mistake. 2 servers, 1 is 192.168.123.3 and 1 is 192.168.124.3. On the 192.168.124.3 server we have email; on the 192.168.123.3 server we have web server. When I go to https://192.168.123.3 I am presented with the webmail login. This should not be as the email is on 192.168.124.3. The 192.168.123.3 server is doing proxy pass. Could apache be redirecting this traffic to 192.168.124.3 and keeping the 192.168.123.3 address in the address bar?

Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: users-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