RE: Apache Proxy configuration question

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

 



Hi Vivek,

Thanks. Do you mean a trailing slash after /demo/ or do you mean /demo / https://internal2:82

For eg...

 Proxypass /demo/ https://internal2:82

 ProxyPassReverse /demo/ https://internal2:82 

 ProxyPass / https://internal1:81

 ProxyPassReverse / https://internal1:81 


or 


 Proxypass /demo / https://internal2:82


 ProxyPassReverse /demo / https://internal2:82 

 ProxyPass / https://internal1:81

 ProxyPassReverse / https://internal1:81  


Thanks
Jeremy


Date: Wed, 19 Sep 2012 17:40:55 +0530
From: vivek1nambiar@xxxxxxxxx
To: users@xxxxxxxxxxxxxxxx
Subject: Re: Apache Proxy configuration question

Hi Jeremy,

If you add a / infront of the SSL URL,then does it work?

Thanks

On Wed, Sep 19, 2012 at 11:43 AM, Jeremy T <jerah@xxxxxxxxxxx> wrote:
Hi All,

I had a question about Apache with SSL.
Basically came across this issue when configuring a reverse proxy with Apache.

Do you know if there is some limitation on the number of ProxyPass and ProxPassReverse entries that you can do when it comes to an SSL virtual host?

Consider the following scenario:
1. I have a website called http://public1 and have a public SSL cert for that site.
2. I have two internal servers with different urls containing self signed SSL certs for both of them.
4. I would like to have https://public1 proxy to https://internal1:81 and https://public1/demo proxy to https://internal2:82
 

Configuration:

 Proxypass /demo https://internal2:82

 ProxyPassReverse /demo https://internal2:82 

 ProxyPass / https://internal1:81

 ProxyPassReverse / https://internal1:81



The problem:
It seems that the /demo entries do not work (the first two entries). However these rules work for non SSL virtual hosts. The problem is when I work with SSL virtual hosts.

ANY help / tips or limitations with the above would be helpful.

Thank you
Jeremy




[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