anchor.diff:  bind_port(Port, Port) -> ok;
   bind_port(_,_) -> fail.
   
  -% bind bhost
  +%% bind bhost
   bind_vhost([],[], Bindings) -> {ok, Bindings, []};
   bind_vhost([?MATCH_ALL], [], _Bindings) -> fail;
   bind_vhost([?MATCH_ALL], Rest, Bindings) -> {ok, Bindings, Rest};
  
positive.code: 
  -export([start_link/0, init/1, handle_call/3, handle_info/2, handle_cast/2]).
  -export([code_change/3, terminate/2]).
  -export([match_vhost/1]).
  -export([redirect_to_vhost/2]).
  
  -include("couch_db.hrl").
  
negative.code:         vhost_fun = Fun
      } = State,
  
      {"/" ++ VPath, Query, Fragment} = mochiweb_util:urlsplit_path(MochiReq:get(raw_path)),
      VPathParts =  string:tokens(VPath, "/"),
  
      XHost = couch_config:get("httpd", "x_forwarded_host", "X-Forwarded-Host"),
      VHost = case MochiReq:get_header_value(XHost) of
  