<div dir="ltr">Hi All,<div><br></div><div>I want to configure Apache reverse proxy to load balance/failover between two IPA servers. I have referred <b><a href="https://www.adelton.com/freeipa/freeipa-behind-proxy-with-different-name">https://www.adelton.com/freeipa/freeipa-behind-proxy-with-different-name</a></b> to configure reverse proxy and it all works fine with one IPA server but i want  to load balance across two IPA Servers using Proxy Balancer module. What should be the configuration for <span style="background-color:rgb(247,248,255);color:rgb(0,0,0)">RequestHeader edit Referer with </span><font color="#000000">Proxy balancer? In another thread<b> <a href="https://www.mail-archive.com/freeipa-users@redhat.com/msg24644.html">https://www.mail-archive.com/freeipa-users@redhat.com/msg24644.html</a> </b>Peter has mentioned cookie rewriting or 2 VHs and i will try VH option. But it will really help and will save my time if some one can share full working configuration. I tried below configuration but its failing at </font><span style="background-color:rgb(247,248,255);color:rgb(0,0,0)">RequestHeader edit Referer.</span></div><div><font color="#000000"><br></font></div><div><font color="#000000"><VirtualHost *:443><br></font></div><div><font color="#000000"><div>        <Proxy balancer://ipacluster></div><div>        # IPA Server 1</div><div>                BalancerMember <a href="https://ipa1.int.com/">https://ipa1.int.com/</a></div><div>        # IPA Server 2</div><div>                BalancerMember <a href="https://ipa2.int.com/">https://ipa2.int.com/</a></div><div>        </Proxy></div><div>        SSLEngine On</div><div>        SSLProxyEngine On</div><div>        LogLevel debug</div><div>        SSLCertificateFile /etc/apache2/ssl/apache.crt</div><div>        SSLCertificateKeyFile /etc/apache2/ssl/apache.key</div><div>        ProxyRequests off</div><div>        ProxyPass / balancer://ipacluster/</div><div>        ProxyPassReverse / balancer://ipacluster/</div><div>        ProxyPassReverseCookieDomain <a href="http://ipa1.int.com">ipa1.int.com</a> <a href="http://ipa.ext.com">ipa.ext.com</a></div><div>        RequestHeader edit Referer ^<a href="https://ipa">https://ipa</a>\.ext\.com/ <a href="https://ipa1.int.com/">https://ipa1.int.com/</a></div><div>        ProxyPassReverseCookieDomain <a href="http://ipa2.int.com">ipa2.int.com</a> <a href="http://ipa.ext.com">ipa.ext.com</a></div></font><font color="#000000"><div>        RequestHeader edit Referer ^<a href="https://ipa">https://ipa</a>\.ext\.com/ <a href="https://ipa2.int.com/">https://ipa2.int.com/</a></div></font><font color="#000000"><div><br></div><div></VirtualHost><br></div><div><br></div><div><br></div><div>Many Thanks,</div><div>Deepak</div></font></div></div>