On Nov 25, 2012, at 11:58 PM, Igor Cicimov <icici...@gmail.com> wrote:
> > On Mon, Nov 26, 2012 at 3:00 PM, Chris Arnold <carn...@electrichendrix.com> > wrote: >> On Nov 25, 2012, at 10:17 PM, Kevin Castellow <kev.castel...@gmail.com> >> 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??? That should be ssl vhost and not all vhost. I first put the entries into the mail.domain.com vhost and it did not work. Only when I put the entries into the ssl vhost did it work. So I thought I was done with this part. We host customers email and they get to their email by going to https://mail.theirdomain.com. So I am trying to make this happen in 1 vhost so I don't have to make create every vhost but if I have to then I guess I have to. > 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. No, it is not in every vhost (auto correct on my phone) > >> 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 Just a typo (again on my phone so auto correct wants to do stupid things) > - 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 >>> <carn...@electrichendrix.com> 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-unsubscr...@httpd.apache.org >>>> For additional commands, e-mail: users-h...@httpd.apache.org >