X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fex_filter_frontend_net.cpp;h=15e6b5584d2ae0967bd30b4a6a42cb83dce8bb8a;hb=f47e8cf4cde2ba5465106e219c803e6424a4f177;hp=2abf1588a7be66437a2688a06ca07aa7fb2ed790;hpb=891f355967146e1f2d66e4dc44158a011282c87f;p=metaproxy-moved-to-github.git diff --git a/src/ex_filter_frontend_net.cpp b/src/ex_filter_frontend_net.cpp index 2abf158..15e6b55 100644 --- a/src/ex_filter_frontend_net.cpp +++ b/src/ex_filter_frontend_net.cpp @@ -1,4 +1,4 @@ -/* $Id: ex_filter_frontend_net.cpp,v 1.22 2006-01-11 11:51:49 adam Exp $ +/* $Id: ex_filter_frontend_net.cpp,v 1.25 2006-01-16 15:51:56 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -104,12 +104,12 @@ int main(int argc, char **argv) // put Virt db filter in router yp2::filter::Virt_db filter_virt_db; - filter_virt_db.add_map_db2vhost("gils", "indexdata.dk/gils", + filter_virt_db.add_map_db2target("gils", "indexdata.dk/gils", ""); - filter_virt_db.add_map_db2vhost("Default", "localhost:9999/Default", + filter_virt_db.add_map_db2target("Default", "localhost:9999/Default", ""); - filter_virt_db.add_map_db2vhost("2", "localhost:9999/2", ""); - // router.append(filter_virt_db); + filter_virt_db.add_map_db2target("2", "localhost:9999/Slow", ""); + router.append(filter_virt_db); yp2::filter::SessionShared filter_session_shared; //router.append(filter_session_shared);