Proxy Pass with SSL redirect
"Abdul Rasheed" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ssl.user |
|---|---|
| Message-ID | <[email protected]> |
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