Proxy Pass with SSL redirect

------=_Part_168569_14666860.1157471360959
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I have an SSL enabled Apache server at the front end and BEA Web logic at
the backend. Recently I have installed SSL certificate successfully and I
have redirected all http requests to https by adding the following line at
httpd.conf file,

<VirtualHost www.mydomain.com:80 <http://www.mydomain.com/>>
ServerName www.mydomain.com
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 <https://%{server_name}/$1>[L,R,NC]
</VirtualHost>

It works smoothly, but the problem is I can't access the page that is
actually located at the back end web logic server, which is accessed using
proxy pass. If I access the pages that is on back end server using http it
works. Following is the proxy pass portion of httpd.conf file,

<IfModule mod_proxy.c>

ProxyRequests Off

ProxyPass /topup http://192.xxx.xxx.xxx:8080/topup
ProxyPassReverse /topup http://192.xxx.xxx.xxx:8080/topup

</IfModule>



My Goal is to forward all http requests to https. Do I really need to
install SSL Certificates on the back end server? Is there any way to
accomplish my goal without installing SSL Certificate on the back end
server?



I hope it's clear and hope to having a solution soon.

Best regards,
A.rasheed

------=_Part_168569_14666860.1157471360959
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<p>Hi,</p>
<p>I have an SSL enabled Apache server at the front end and BEA Web logic at the backend. Recently I have installed SSL certificate successfully and I have redirected all http requests to https by adding the following line at
httpd.conf file,</p>
<p><VirtualHost www.mydomain.com:80><br>ServerName www.mydomain.com<br>RewriteEngine On<br>RewriteCond %{HTTPS} !=on<br>RewriteRule ^/(.*)
https://%{SERVER_NAME}/$1 [L,R,NC]<br></VirtualHost></p>
<p>It works smoothly, but the problem is I can't access the page that is actually located at the back end web logic server, which is accessed using proxy pass. If I access the pages that is on back end server using http it works. Following is the proxy pass portion of
httpd.conf file,</p>
<p><IfModule mod_proxy.c></p>
<p>ProxyRequests Off</p>
<p>ProxyPass /topup http://192.xxx.xxx.xxx:8080/topup<br>ProxyPassReverse /topup http://192.xxx.xxx.xxx:8080/topup</p>
<p></IfModule></p>
<p> </p>
<p>My Goal is to forward all http requests to https. Do I really need to install SSL Certificates on the back end server?  Is there any way to accomplish my goal without installing SSL Certificate on the back end server?
</p>
<p> </p>
<p>I hope it's clear and hope to having a solution soon.</p>
<p>Best regards,<br>A.rasheed</p>

------=_Part_168569_14666860.1157471360959--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users [at] modssl.org
Automated List Manager majordomo [at] modssl.org
Abdul Rasheed [ Di, 05 September 2006 17:49 ] [ ID #1455841 ]
Webserver » gmane.comp.apache.mod-ssl.user » Proxy Pass with SSL redirect

Vorheriges Thema: mod_ssl / Apache 2.2.3 / Windows
Nächstes Thema: Certificate and CRL Path Validation Error