X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fex_filter_frontend_net.cpp;h=15e6b5584d2ae0967bd30b4a6a42cb83dce8bb8a;hb=2e6b6e87fae70c8acbcd7c428ca511d7095f1d55;hp=44e12f20f3f625ac6d74a17df1d6bdab5fa5e942;hpb=ec5548301e2549fc0f8d2f962aade24cb6f90d1b;p=metaproxy-moved-to-github.git diff --git a/src/ex_filter_frontend_net.cpp b/src/ex_filter_frontend_net.cpp index 44e12f2..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.21 2006-01-09 13:43:59 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,10 +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_db2vhost("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("gils", "indexdata.dk/gils", + ""); + filter_virt_db.add_map_db2target("Default", "localhost:9999/Default", + ""); + 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);