Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-07 Thread Antonio Suárez Pozuelo
Hi Nick, Your glass of wine was inspiring: just removed >ProxyHTMLCharsetOut * # Backend (Tomcat) charset is ISO-8859-1 and the problem's gone! Also commented out >ProxyHTMLMeta on with no noticeable change in behaviour. As per the docs "turning ProxyHTMLMeta

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-07 Thread Nick Kew
> On 7 May 2020, at 17:52, Antonio Suárez Pozuelo > wrote: > > Hi there, Further to my last reply, I can see what may possibly be wrong: > We have a Tomcat 8 backend server behind an Apache 2.4 proxy. Our Apache conf: > >ProxyPreserveHost on >ProxyHTMLEnable o

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-07 Thread Nick Kew
> On 7 May 2020, at 17:52, Antonio Suárez Pozuelo > wrote: > > Hi there, > >ProxyHTMLURLMap "/backend-path/(.*)" "/$1" R Minor point, no need for that regexp. Just /backend-path/ / (the remainder will be untouched). > Everything works fine but f

[users@httpd] Re: mod_proxy_hcheck assistance

2020-05-07 Thread Herb Burnswell
Hi, I posted this query a while back and have seemingly resolved my issue, but have a question. I am currently using this health check that seems to work as desired: ProxyHCExpr site_up {hc('body') !~ /main-nav/} BalancerMember https://example.com:8443 rout

[users@httpd] Re: Where is gone RemoteIPProxyProtocol directive (mod_remoteip) ?

2020-05-07 Thread Christophe JAILLET
Le 06/05/2020 à 12:20, Rainer Canavan a écrit : On Wed, May 6, 2020 at 11:04 AM JK Pard0x wrote: Looking at the mod_remoteip source code for httpd 2.4.6 [1], it appears the directive RemoteIPProxyProtocol does not exist anymore. I'm not sure to understand how the versioning works. And indeed,

[users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-07 Thread Antonio Suárez Pozuelo
Hi there, We have a Tomcat 8 backend server behind an Apache 2.4 proxy. Our Apache conf: ProxyPreserveHost on ProxyHTMLEnable on ProxyHTMLExtended on ProxyHTMLCharsetOut * # Backend (Tomcat) charset is ISO-8859-1 ProxyHTMLMeta