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: -module(couch_httpd).
  -include("couch_db.hrl").
  
  -export([start_link/0, stop/0, handle_request/5]).
  
  -export([header_value/2,header_value/3,qs_value/2,qs_value/3,qs/1,path/1,absolute_uri/2,body_length/1]).
  -export([verify_is_server_admin/1,unquote/1,quote/1,recv/2,recv_chunked/4,error_info/1]).
  
negative.code:         ("httpd_global_handlers", _) ->
              ?MODULE:stop();
          ("httpd_db_handlers", _) ->
              ?MODULE:stop();
          ("vhosts", _) ->
              ?MODULE:stop()
          end, Pid),
  
  