-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port directive is not overridden inside "<IfModule mod_sftp.c>...</IfModule>" #1670
Comments
The In your case, I think you want this:
|
@Castaglia Thanks for your comment. When I used I see that 1.3.8:
1.3.7f:
If |
Yes. The configuration parser parses these directives into an internal hashtable, and thus the lookup order of these values is not guaranteed. |
I see. I had assumed that the You may close this issue. Thank you for your explanation. |
I see. In that case, you might be able to use an approach like this:
|
Oh, I didn't know |
I'll add more text to the |
Issue #1670: Document the `!` prefix for `<IfModule>` sections better.
I've committed some text to |
@Castaglia Debian has an |
Hi, I have the same problem on a server recently upgraded from Debian 11 (ProFTPd 1.3.7) to Debian 12 (ProFTPd 1.3.8). For years I've had the original config file untouched with some overrides in It works if I add a It seems like a regression to me, but I don't have the full picture. |
What I Did
On 1.3.8,
Port
directive defined in server-config context in proftpd.conf was not overridden by subsequentPort
directives defined in<IfModule mod_sftp.c>...</IfModule>
.On 1.3.7f, applies the latter definition.
This seems to be triggered by commit 13d5642 between 1.3.8rc2 and 1.3.8rc3.
What I Expected/Wanted
I would like to be able to override the
Port
defined in server-config with aPort
in<IfModule mod_sftp.c>... </IfModule>
.ProFTPD Version and Configuration
Version:
Configuration:
The text was updated successfully, but these errors were encountered: