anchor.diff:          UrlHandlers, DbUrlHandlers, DesignUrlHandlers).
   
   handle_request(MochiReq, DefaultFun,
  -    UrlHandlers, DbUrlHandlers, DesignUrlHandlers) ->
  +    UrlHandlers, DbUrlHandlers, DesignUrlHandlers, VirtualHosts) ->
   
       % grab Host from Req
       Vhost = MochiReq:get_header_value("Host"),
   
       % find Vhost in config
  -    case couch_config:get("vhosts", Vhost, false) of
  -        false -> % business as usual
  +    case proplists:get_value(Vhost, VirtualHosts) of
  +        undefined -> % business as usual
               handle_request_int(MochiReq, DefaultFun,
                       UrlHandlers, DbUrlHandlers, DesignUrlHandlers);
           VhostTarget ->
  
positive.code:         ("httpd_global_handlers", _) ->
              ?MODULE:stop();
          ("httpd_db_handlers", _) ->
              ?MODULE:stop()
          end, Pid),
  
  
negative.code:     DesignUrlHandlers = dict:from_list(DesignUrlHandlersList),
      Loop = fun(Req)->
          apply(?MODULE, handle_request, [
              Req, DefaultFun, UrlHandlers, DbUrlHandlers, DesignUrlHandlers,
                  VirtualHosts
          ])
      end,
  
  