#38 lxr 0.9 source brwosing doesn't work for

closed-works-for-me
nobody
None
5
2002-02-11
2002-02-11
Anonymous
No

We've tried the standard configuration as in lxr.conf
to index a non-CVSed source. The indexing seems to
work (checked up the mysql database for the symbols),
however browsing the source shows the root-directory
of the system and does not browse the actual
sourceroot. Is there something to be done in the
configuration to make it work? Is there an lxr.conf
that runs out of the box?

Discussion

  • Malcolm Box
    Malcolm Box
    2002-02-11

    • status: open --> closed-works-for-me
     
  • Malcolm Box
    Malcolm Box
    2002-02-11

    Logged In: YES
    user_id=215386

    What URL are you looking at when it shows the system root?
    The correct URL should be something like
    http://yourdomain/lxr/source to show the sourceroot.

    If you want to, you can configure apache to default to this
    URL when fed with http://yourdomain/lxr/

     
  • Logged In: NO

    I had configured lxr to work with sourceurl as
    http://192.168.1.xx/ while $HTTP->{'this_url'} was
    returning http://ghost.codito.co.in/ which wasn't found in
    the lxr.conf (as sourceurl). I changed sourceurl in
    lxr.conf to http://ghost.codito.co.in/ and everything
    works fine. Is there a way to set aliases for sourceurl or
    if not, does it make sense to write an extension to do it?