On Tue, 2009-11-17 at 19:37 -0800, Robert D. Penny wrote:
Of course, when I said I could do this:
> I can
> ./genxref --url=http://localhost/lxr/source/metis
> ./genxref --url=/var/www/localhost/lxr/source/geant
> and generate the appropriate indexes. However, when I try to access
What I really meant to say was:
However, that was probably obvious. Back to the issue at hand though...
Thinking the problem over further this morning though, I think I've
answered my own question about how to use a multiple configuration block
section in lxr.conf.
I'm guessing I should create the directory path
Then under this directory create something like a master directory
I should move lxr.conf, .htaccess, and all of the html template files to
this directory. Then, for every source tree I want to index, I just
create a different symbolic link to this master directory for the
webserver to access.
I'll be working with the same html template files, .htaccess file and
the lxr.conf file across all directories. However, when accessing the
directories through the webserver, I'll be coming in through different
URLs, and the different blocks in lxr.conf will be activated.
So I'd index this setup with:
... and access with:
Was this the intended setup for a multi-block lxr.conf setup? Or is
there a way that avoids all of the symlink directories and works
directly through the various source, diff, find, ident, etc. scripts.
Robert D. Penny <robert.d.penny@...>