James,
Thanks for your points. Rewrite rule was set up by some other guys and is being used for some time now and works well with round robin. Anyhow I will look at mod_proxy in detail. Not sure how SSL termination can be done with it and moreover how haproxy gonna balance based on client IP. Any insight?
Anyone else has any thoughts or insights to share?
-Habeeb
On Thu, Jun 9, 2011 at 7:11 PM, James Bardin <jbardin#bu.edu> wrote:
> On Thu, Jun 9, 2011 at 7:33 AM, habeeb rahman <pk.habi#gmail.com> wrote:
>
> > apache rewrite rule:
> > RewriteRule ^/(.*)$ http://127.0.0.1:2443%{REQUEST_URI} [P,QSA,L]
>
>
> Why are you using a rewrite instead of mod_proxy?
> ProxyPass does some nice things by default, like adding the
> X-Forwarded-For header which will provide the address of the client.
> Otherwise, you will need to do this manually with rewrite rules.
>
> -jim
>
Received on 2011/06/09 15:54
This archive was generated by hypermail 2.2.0 : 2011/06/09 16:00 CEST