Gurus,<br>Is there any way to proxy/redirect SSL-connections.<br>
The scenario is :<br>
[Browser]---HTTPS-->[Proxy-pass-WITHPUBLIC-IP (Apache)]---HTTPS-->[Back-end(tomcat)] (Private Network)<br>
<br>
I want to setup Apache proxy-pass or redirection for all HTTPS/HTTP requests, as we have number of sit running behind one public ip. My setup is working fine for HTTP request but not for HTTPS request.<br>
<br>
BTW,<br>
I am aware of that SSL-connection does not allow man-in-middle attack
and the proxy-pass(Apache) [in above scenario] is behaving same for it.<br>
<br>
I want to know that :<br>
--Is there any way to do it (by redirect) by iptables rules DNAT?<br>--Is it possible to write a iptables rule based on URL-request, If yes, can you provide me some good example or any pointer !<br><br>
--Have any one done this before ?<br>
--What are the alternate option for it ?<br>
<br>
After lots of Gooogling I found one trick which sense as :<br>
<br>
Browser--HTTPS-->Proxy-Pass----AJP---->back-end(tomcate)<br>
<br>
So , will the above work ? what points need to be consider while going for this setup.<br>
<br>
<br>
<br>
Hope I am clear enough with my problem. I will love to provide more details , if needed  for better understanding.<br><br><br>-- <br>Thanks<br>ALOK PANDEY<br>