Re: [Proftpd-user] ProxyPassReverseServers option combined with IfClass directive
"TJ Saunders" <[email protected]> Thu, 20 Feb 2025 13:34:24 -0800
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
> Thank you for your suggestions. Unfortunately, it does not solve the > issue as only the last occurrence of ProxyReverseServers within an > IfClass section seems to be processed. I've reproduced this issue locally, and identified the cause and necessary fix; see: https://github.com/Castaglia/proftpd-mod_proxy/pull/287 The mod_proxy module needs to set flags on the directives that it expects to see multiple times; these flags are used by mod_ifsession, when it does its merging, to know whether to expect multiple occurrences of a directive, or not. Without these flags, mod_ifsession thinks that the ProxyReverseServers directive should only appear once, and removes the other occurrences from the in-memory config database (and thus it doesn't matter the ordering of the directives). The above PR has worked for my local tests; would you care to try it out for your needs, verify that it works as you expect? Cheers, TJ _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html