Proxy Pass with SSL redirect

Proxy Pass with SSL redirect

am 05.09.2006 17:49:20 von Abdul Rasheed

------=_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,

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


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,



ProxyRequests Off

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





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

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
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*)
[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


</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--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org