X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fex_filter_frontend_net.cpp;h=b77a0631f6dcca3bdf8888d9239bd16d269d90a0;hb=ad428707d2a52bbe4db21e47c5ebb26e13598484;hp=38ac43347092ff952719989c9e62ee3cfeb92c7a;hpb=3c09b344df6c9db8c381d5aaf6ab0db0735db860;p=metaproxy-moved-to-github.git diff --git a/src/ex_filter_frontend_net.cpp b/src/ex_filter_frontend_net.cpp index 38ac433..b77a063 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.19 2005-12-09 11:27:59 adam Exp $ +/* $Id: ex_filter_frontend_net.cpp,v 1.20 2006-01-04 11:19:04 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -104,11 +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:9100/Default"); - router.append(filter_virt_db); + 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); -// yp2::filter::Session_shared filter_session_shared; -// router.append(filter_session_shared); + yp2::filter::SessionShared filter_session_shared; + //router.append(filter_session_shared); yp2::filter::Log filter_log_back("BACK"); router.append(filter_log_back);