I configured mod_vcard as follows:
{mod_vcard, [
{allow_return_all, true},
{search_all_hosts, true},
{matches, 1},
{search, true},
{host, localhost},
{backend, odbc}
]},
But when I restart mongoosIm i get the following error:
2015-03-16 12:31:08.620 [error] <0.708.0> CRASH REPORT Process <0.708.0> with 0 neighbours exited with reason: bad argument in call to re:replace(localhost, "@HOST@", <<"localhost">>, [global,{return,binary}]) line 355 in mod_vcard:init/1 line 141 in gen_server:init_it/6 line 330
What am I doing wrong ?