# File lib_ctrl/rucy/params.rb, line 1209
    def server_setup(control, err_mon, server, doc_factory)
      folder = server.document.find('/')[0]
      for attrs in @list
        params = AttachParams.new(attrs, @factory)
        name = params.name
        args = params.args
        path = params.path
        mask = params.mask
        host = params.virtual_host
        begin
          filter = doc_factory.filter_build(name, args)
          if (host) then
            host += ':' + server.port.to_s
            folder.virtual_attach(host, filter, path, mask)
          else
            folder.attach(filter, path, mask)
          end
        rescue StandardError, ScriptError
          err_mon.capture_filter_error($!, name, args, path, mask, host)
          server.err("error: not attached #{name.inspect} filter: (#{$!.class}) #{$!}")
        end
      end
      nil
    end