Re: Interesting Problem

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

 




On 26/11/2012 10:03 PM, "Chris Arnold" <carnold@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Nov 25, 2012, at 11:58 PM, Igor Cicimov <icicimov@xxxxxxxxx> wrote:
>
>>
>> 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???
>
>
> 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 <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
>>>>>
>>>>

Do you have a default one like this
<Vhost _default_:443>
or with the ip?


[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