Forum .LRN Q&A: Re: http://www.my.ip.address/dotlrn

Collapse
Posted by Lars Pind on
Unfortunately, for reasons unknown to me, dotlrn can *only* be mounted under /dotlrn.

Here's the code in packages/dotlrn/tcl/dotlrn-procs.tcl:

    ad_proc -public package_key {} {
    returns the package key
    } {
    return dotlrn
    }

    ad_proc -public get_url {} {
    returns the root URL for dotLRN
    } {
    return "/[package_key]"
    }

The second one, get_url, is used all over the place.

It should be a trivial fix, though, to have 'get_url' figure out where dotlrn is mounted, so long as you still only have one instance mounted.

The dotlrn package currently doesn't support multiple instances. Fixing this would be a much larger task.

/Lars