Download raw body.
httpd(8): patch to disable/modify the server banner
Stuart Henderson wrote: > On 2025/01/29 19:47, Lloyd wrote: > > > The simplified diff below reverts those changes and only adds the > > 'disablebanner' directive to httpd.conf. > > > "disablebanner" and especially "no disablebanner" is not nice syntax. > considering other config options, "[no] banner" would be idiomatic. It was done that way because the default is to show the banner, so 'no disablebanner' would not be valid in global context. It just seemed redundant to have a useless directive 'banner' at global context which does nothing and require the additional 'no' keyword for anything to take effect. That said, it looks like the 'log' directive is implemented similar to how you suggest, where logging is enabled by default and 'no log' would be specified to disable it. I don't hold any strong opinions on it either way.
httpd(8): patch to disable/modify the server banner