anchor.diff:      ${let
           ports = map getPort allHosts;
           uniquePorts = uniqList {inputList = ports;};
  -        isNeeded = versionOlder httpd.version "2.4";
           directives = concatMapStrings (port: "NameVirtualHost *:${toString port}\n") uniquePorts;
  -      in optionalString isNeeded directives
  +      in optionalString (!version24) directives
       }
   
       ${let
  
positive.code:     ++ extraApacheModules;
  
  
    allDenied = if versionOlder httpd.version "2.4" then ''
      Order deny,allow
      Deny from all
    '' else ''
      Require all denied
    '';
  
    allGranted = if versionOlder httpd.version "2.4" then ''
      Order allow,deny
      Allow from all
    '' else ''
      Require all granted
    '';
  
  
  
negative.code:           ''
              mkdir -m 0750 -p ${mainCfg.stateDir}
              chown root.${mainCfg.group} ${mainCfg.stateDir}
              ${optionalString version24 ''
                mkdir -m 0750 -p "${mainCfg.stateDir}/runtime"
                chown root.${mainCfg.group} "${mainCfg.stateDir}/runtime"
              ''}
  