[Lxr-general] Re : accessing LXR server from a different machine
Brought to you by:
ajlittoz
From: andre-littoz <pag...@ya...> - 2014-08-10 07:38:46
|
Hello Kevin, Since you get an LXR error page, it means your "LXC" server is correctly configured. Your request was appropriately routed to the LXR scripts and they were launched by the HTTP server. "No known root ..." is displayed when info extracted from the URL could not be matched to anything stored in lxr.conf. "Info" is based on the following elements: - host name, matched to one of the names in parameter 'host_names' (exact match), - script path, also used by the HTTP server to route the request to the scripts, matched to parameter 'virtroot' (exact match) -- in your case /lxr - depending on the single/multiple tree operation mode, the name of the tree to display, kept in parameter 'treename'. I guess from your URL you are in single tree context (parameter 'routing' should read 'single'). In this case, there is no need of extra identification for 'treename' and LXR uses the only tree found in lxr.conf. If you still don't see inconsistencies in your lxr.conf, send it to me on the private e-mail @ddress above and I'll have a look to it. Regards, ajl -------------------------------------------- En date de : Ven 8.8.14, Kevin Wilson <wk...@gm...> a écrit : Objet: [Lxr-general] accessing LXR server from a different machine À: lxr...@li... Date: Vendredi 8 août 2014, 15h29 Hello, I installed and configured an LXC server (lxr-2.0.2) according to instruction on http://lxr.sourceforge.net. On the local machine, I can access the source tree from a chrome browser by accessing http://localhost/lxr/source. The machine on which the LXC is installed is 192.168.2.197. However, I try to access from another machine on the LAN, by http://192.168.2.197/lxr/source, I get an lxr error page,: "Unrecoverable error No known root for source-tree (default tree)" Now I goggled for it, and tried as a result to set the 'host_names' parameter in in lxr.conf in various ways, but nothing helped. Any ideas ? Regards, Kevin ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Lxr-general mailing list Lxr...@li... https://lists.sourceforge.net/lists/listinfo/lxr-general |