Up to [LON-CAPA] / loncom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
- Control hosting of user sessions. - To accommodate multi-domain library servers, use internet domain names (e.g., msu.edu) instead of LON-CAPA domains in interface DC uses to set options for session hosting. - Provide mechanism to retrieve lonHostID for a hostname, so we can tell which domain determines session hosting config for external users on a multi-domain machine. - New routines in lonnet.pm: &get_server_homeID() -- gets lonHostID for a hostname &internet_dom() -- gets internet domain name for a LON-CAPA Host ID &get_internet_names() -- gets internet domain names for all domains for a server given one of the LC host IDs for the server. - New file in /home/httpd/lonTabs: - serverhomeIDs.tab (populated by loncron). : paired hostname:lonHostID - New subroutine in loncron: &write_serverhomeIDs() -- populates serverhomeIDs.tab - New subroutine in lond: &server_homeID_handler() -- returns LON-CAPA Host ID of server - New scalar in lond: $clienthomedom -- set to domain of LON-CAPA Host ID of client - New subroutine in domainprefs.pm: &build_location_hashes() -- used to set up options for session hosting as internet domain names - where two names (e.g., msu.edu, loncapa.org) are controlled by the same institution these will receive a single checkbox.