I am using Apache 2.2 on SUSE 10 with mod_ssl.
My problem: I want to connect a client(supporting only http) to a Server(supporting only HTTPS). So I thought of deploying Apache as a proxy to convert HTTP message to HTTPS message. I will install certificates of server at Apache itself. Note: Client and server here are not normal browser and webserver. These are SOAP based webservices using custom ports( port 80 or 443 is not used)
My intended deployment is like this: Client---------->Apache(proxy)----------->HTTPS Server
My question are: 1) Is this type of deployment possible using Apache? 2) What configuration in apache is needed? 3) Any particular module of apache is neede?
I have already tried "RewriteEngine" and "RewriteRule" as suggested in most of sites. I get following error "302 Found" Error code from Apache server.