I just had success installing Apache2 on a Macbook Pro. I had to replace apr with updated source. And make --with-included-apr. Cody Amen (303) 918-6296 cody.amen@xxxxxxxxxx Sent from my iPhone > On Feb 1, 2025, at 7:16 AM, Marc <Marc@xxxxxxxxxxxxxxxxx> wrote: > > How should I change this config so it works with www.a.com and a.com? I tried with trying to assign %{HTTP_HOST} to defaulthost > > > Define defaulthost "a.com" > Define proxyhost "b.com" > > ProxyPreserveHost Off > ProxyAddHeaders On > SetOutputFilter proxy-html > ProxyHTMLEnable On > ProxyHTMLExtended On > > ProxyPass "https://${proxyhost}/xxx" > ProxyPassReverse "https://${proxyhost}/xxx" > > ProxyPassReverseCookieDomain "${proxyhost}" "${defaulthost}" > > ProxyHTMLURLMap https://${proxyhost}/xxx https://${defaulthost}/en/yyyy > > B‹KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB•È[œÝXœØÜšX™KK[XZ[ˆ\Ù\œË][œÝXœØÜšX™P˜\XÚK›Ü™ÃB‘›ÜˆY][Û˜[ÛÛ[X[™ËK[XZ[ˆ\Ù\œËZ[˜\XÚK›Ü™ÃB --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |