There is an copy & paste bug in my Substitute it must be.
[...]
Substitute "s|http://192.168.56.170:81|http://192.168.56.70|i"
[...]
And i investigate further on i grab some httpd versions i can get from
wget http://archive.apache.org/dist/httpd/httpd-2.4.39.tar.gz
wget http://archive.apache.org/dist/httpd/httpd-2.4.41.tar.gz
wget http://archive.apache.org/dist/httpd/httpd-2.4.51.tar.gz
And i diff mod_proxy_balancer.c from version to version for instance.
:~$ diff httpd-2.4.39/modules/proxy/mod_proxy_balancer.c
httpd-2.4.41/modules/proxy/mod_proxy_balancer.c
In version 2.4.41 mod_proxy_balancer.c and in the further versions i found that
peace of code. And it looks like that trigger the error.
:~$ 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);
}
[...]
If i delete that and recompile than it looks like anything is working
again with the proxy in front of the LB Manager. But i'am not a
Developer and i don't know is that an good idea to delete that code. And
mybe on different places happening other bad things.
Any suggestion is appreciated.
Thx Horst
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1939678
Title:
Apache2 Balancer Manager not working after dist-upgrade to focal
behind a Proxy
To manage notifications about this bug go to:
https://bugs.launchpad.net/apache2/+bug/1939678/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs