RE: [users@httpd] Apache Proxy configuration question

2012-09-21 Thread Jeremy T

Hi,Thanks for your help.  I got back into the config and found out that its an 
application issue.The internal urls were set to http and not https. - so its 
all good! 
Thank you very muchJeremy

From: lin.supp...@gmail.com
Date: Wed, 19 Sep 2012 18:38:41 +0530
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache Proxy configuration question

Did you try using SSLProxyEngine On ?



Normally, you do not need to use SSL when proxying, as SSL is used to secure 
contents, and if you install SSL certificate on Apache which is proxing you do 
not need to have SSL on backend servers



On Wed, Sep 19, 2012 at 5:40 PM, Vivek Nambiar vivek1namb...@gmail.com wrote:


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 je...@hotmail.com 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.


3. Internal urls are https://internal1:81 and https://internal2:824. 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

  



  

RE: [users@httpd] Apache Proxy configuration question

2012-09-20 Thread Jeremy T

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  

ThanksJeremy
Date: Wed, 19 Sep 2012 17:40:55 +0530
From: vivek1namb...@gmail.com
To: users@httpd.apache.org
Subject: Re: [users@httpd] 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 je...@hotmail.com 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.
3. Internal urls are https://internal1:81 and https://internal2:824. 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

  

  

Re: [users@httpd] Apache Proxy configuration question

2012-09-19 Thread Vivek Nambiar
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 je...@hotmail.com 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.
 3. Internal urls are https://internal1:81 and https://internal2:82
 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





Re: [users@httpd] Apache Proxy configuration question

2012-09-19 Thread linuxsupport
Did you try using SSLProxyEngine On ?

Normally, you do not need to use SSL when proxying, as SSL is used to
secure contents, and if you install SSL certificate on Apache which is
proxing you do not need to have SSL on backend servers

On Wed, Sep 19, 2012 at 5:40 PM, Vivek Nambiar vivek1namb...@gmail.comwrote:

 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 je...@hotmail.com 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.
 3. Internal urls are https://internal1:81 and https://internal2:82
 4. I would like to have https://public1 proxy to https://internal1:81and
 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