Hello,
I created a standalone application :
tntnet-config --project MyApp
In my main.cpp, I have :
#include <tnt/tntnet.h>
#include <cxxtools/log.h>
#include <cxxtools/xml/xmldeserializer.h>
log_define("main");
int main(int argc, char* argv[])
{
try {
log_init();
tnt::Tntnet app;
tnt::TntConfig config;
std::ifstream conf("tntnet.xml");
cxxtools::xml::XmlDeserializer deserializer(conf);
deserializer.deserialize(config);
app.init(config);
app.run();
}
catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
}
}
I run my app :
./myapp
When I try to access to my app, I get this error :
Error
Not Found: vhost: localhost:8000 /
Any idea ?
Thank,
Jean-Marc
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general