Hello Paride,
for a kinde of integrity i did the same with the ubuntu 20.04 Apache.
:~$ apt-get source apache2 :~$ cp apache2-2.4.41/modules/proxy/mod_proxy_balancer.c . :~$ vim mod_proxy_balancer.c [...] /* Ignore parameters if this looks like XSRF */ ref = apr_table_get(r->headers_in, "Referer"); if (apr_table_elts(params) && (!ref || !safe_referer(r, ref))) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10187) "ignoring params in balancer-manager cross-site access"); apr_table_clear(params); } [...]
Delete that part and compile the module only
:~# apxs2 -c -i mod_proxy_balancer.c
:~# systemctl restart apache2
And it looks like for me everything ist working again as expected. But also the I'am a non Developer hint and mybe this todo so is a really bad idea.
Thx Horst
Hello Paride,
for a kinde of integrity i did the same with the ubuntu 20.04 Apache.
:~$ apt-get source apache2 2.4.41/ modules/ proxy/mod_ proxy_balancer. c . balancer. c get(r-> headers_ in, "Referer"); elts(params)
ap_log_ rerror( APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10187)
"ignoring params in balancer-manager cross-site access");
apr_table_ clear(params) ;
:~$ cp apache2-
:~$ vim mod_proxy_
[...]
/* Ignore parameters if this looks like XSRF */
ref = apr_table_
if (apr_table_
&& (!ref || !safe_referer(r, ref))) {
}
[...]
Delete that part and compile the module only
:~# apxs2 -c -i mod_proxy_ balancer. c
:~# systemctl restart apache2
And it looks like for me everything ist working again as expected. But also the I'am a non Developer hint and mybe this todo so is a really bad idea.
Thx Horst