anchor.diff:        # Other modules.
         "ext_filter" "include" "log_config" "env" "mime_magic"
         "cern_meta" "expires" "headers" "usertrack" /* "unique_id" */ "setenvif"
  -      "mime" "dav" "status" "autoindex" "asis" "info" "cgi" "dav_fs"
  +      "mime" "dav" "status" "autoindex" "asis" "info" "dav_fs"
         "vhost_alias" "negotiation" "dir" "imagemap" "actions" "speling"
         "userdir" "alias" "rewrite" "proxy" "proxy_http"
       ]
  +    ++ (if mainCfg.multiProcessingModule == "prefork" then [ "cgi" ] else [ "cgid" ])
       ++ optional enableSSL "ssl"
       ++ extraApacheModules;
   
  
positive.code: 
    mainCfg = config.services.httpd;
  
    httpd = pkgs.apacheHttpd;
  
    getPort = cfg: if cfg.port != 0 then cfg.port else if cfg.enableSSL then 443 else 80;
  
  
negative.code:     ServerRoot ${httpd}
  
      PidFile ${mainCfg.stateDir}/httpd.pid
  
      ${optionalString (mainCfg.multiProcessingModule != "prefork") ''
        # mod_cgid requires this.
        ScriptSock ${mainCfg.stateDir}/cgisock
      ''}
  
      <IfModule prefork.c>
          MaxClients           ${toString mainCfg.maxClients}
  