Hi
I have apache version 2.4.54. I wanted to add the addressttl=60 parameter in the BalancerMember section. I have the proxy module enabled. In the mod_proxy.c configuration you can see that it is
else if (!strcasecmp(key, "addressttl")) {
/* Address TTL in seconds
*/
apr_interval_time_t ttl;
if (strcmp(val, "-1") == 0) {
worker->s->address_ttl = -1;
}
else if (ap_timeout_parameter_parse(val, &ttl, "s") == APR_SUCCESS
&& (ttl <= apr_time_from_sec(APR_INT32_MAX))
&& (ttl % apr_time_from_sec(1)) == 0) {
worker->s->address_ttl = apr_time_sec(ttl);
}
else {
return "AddressTTL must be -1 or a number of seconds not "
"exceeding " APR_STRINGIFY(APR_INT32_MAX);
}
worker->s->address_ttl_set = 1;
Unfortunately, after setting the parameter, I have the error AH00526: Syntax error on line 43 of /etc/apache2/sites-enabled/dev.mcdonalds.pl.conf:
BalancerMember unknown Worker parameter
Action '-t' failed.
I also tried Apache 2.4.58 and the same thing. Could you please help me
--