Re: [Lxr-general] no index.htm (etc) file
Brought to you by:
ajlittoz
From: Perry W. <wa...@ma...> - 2014-12-29 10:04:14
|
At this point I just need a cross-reference of my old linux-kernel. Desperately. My further attempts to get LXR to work with ubuntu 14.04.1 with both apache and nginx have failed. My tentative conclusion is that ubuntu has messed with the webservers enough to break LXR. What distribution (of linux) is known “just work” for LXR and apache or nginx? Thanks! — Perry > On Dec 28, 2014, at 6:10 AM, Perry Wagle <wa...@ma...> wrote: > > >> On Dec 28, 2014, at 2:59 AM, andre-littoz <pag...@ya...> wrote: >> >> Hi Perry, >> >> Could you better explain your problem? >> >> There seems to be a misunderstanding in your post about what LXR does. >> >> LXR does not generate "static" pages during genxref time. LXR output is "dynamic", meaning the HTML is generated "on the fly" after the request in the URL has been parsed. LXR is a set of CGI scripts which are executed in response to URL reception by the web server. The script reads the requested file, uses information from a database (created by genxref) about functions and variables and sends back to the browser a "decorated" HTML stream representing the requested file. >> >> As a consequence, there is neither index.htm file, nor HTML template for the result (though the script can be considered as a template from a theoretical point of view). >> >> For correct operation, your web server must be told that LXR pages are not "static" as is the common case but are the result of some script execution. This is taken care of by a configuration file (apache-lxrserver.conf) which must be copied into Apache configuration directory. This configuration file is tailored by interactive script configure-lxr.pl to match your computer configuration. >> >> If apache-lxrserver.conf is not copied to the adequate location, you end up with a screen display of the internal LXR source program. Is this what you're experiencing? >> >> To be able to help you efficiently, I need the LXR version number and what steps you followed to install LXR. >> >> Best season wishes, >> ajl > > > Right now, I have it at the point that apache complains that there is no index.htm file (or the equivalent). > > I unpacked lxr-2.0.3.tgz into /var/www/lxr/ and renamed it to lxr. Hence it lives in /var/www/lxr/lxr. > > Apache is version 2..4.7 (Ubuntu). The OS is Ubuntu 14.04.1. > > I created the SQLITE3 database, which seems to be populated. I used swish-e, which also seems to be populated. > > The kernel is in /var/www/lxr/kernels/ , > > I moved apache-lxrserver.conf to /etc/apache2/conf.d/, but it wasn’t accessed there, so I tried /etc/apache2/conf-available and /etc/apache2/conf-enabled. Now its accessed, but apache complains about the missing index file. > > Is this enough info yet? > > Thanks! > > — Perry |