#28 Support baseurl_aliases in lxr.conf

closed-accepted
Browsing (12)
5
2003-06-05
2002-09-13
No

Allows a single config block to be accessed using one
of several URL prefixes.

...
{
baseurl => 'http://phage/lxr',
baseurl_aliases => [
'http://phage.full.domain.name/lxr',
'http://192.168.4.4/lxr'
],
...
},
...

If baseurl_aliases is absent, the normal behaviour remains.

Discussion

  • Tony Garnock-Jones

    unified diff of lib/LXR/Config.pm

     
  • Tony Garnock-Jones

    better unidiff of lib/LXR/Config.pm

     
  • Tony Garnock-Jones

    Logged In: YES
    user_id=141002

    Ooops. Stupid mistake. New attachment corrects it.

     
  • Tony Garnock-Jones

    Logged In: YES
    user_id=141002

    Ooops again. This time pick up the global config block as
    well as the first URL-matching config block.

     
  • Tony Garnock-Jones

    third attempt at a correct patch

     
  • Malcolm Box

    Malcolm Box - 2003-06-05
    • assigned_to: nobody --> mbox
    • status: open --> closed-accepted
     
  • Malcolm Box

    Malcolm Box - 2003-06-05

    Logged In: YES
    user_id=215386

    Applied to CVS

     

Log in to post a comment.