From bf27216a290c125f565d08700bb6693387fac9bf Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 10:30:42 +1000 Subject: Add a basic generic web server, and a login page, plus stubs for the other basic pages. And update everyone to suit. --- bin/Robust.ini | 21 ++++++++++++++------- bin/config-include/config_IG.ini | 23 +++++++++++++++++++++++ bin/config-include/config_MG.ini | 23 +++++++++++++++++++++++ bin/config-include/config_localhost.ini | 1 + 4 files changed, 61 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/Robust.ini b/bin/Robust.ini index 00ad2ca..ca5829c 100644 --- a/bin/Robust.ini +++ b/bin/Robust.ini @@ -87,6 +87,10 @@ ;; Uncomment this if you want Groups V2, HG to work HGGroupsServiceConnector = "${Const|PublicPort}/OpenSim.Addons.Groups.dll:HGGroupsServiceRobustConnector" + ;; Basic web server. + WebServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:WebServerInConnector" + + ; * This is common for all services, it's the network setup for the entire ; * server instance, if none is specified above ; * @@ -563,32 +567,32 @@ ; login page: optional: if it exists it will be used to tell the client to use ; this as splash page - welcome = ${Const|BaseURL}/drupal/loginpage + welcome = ${Const|BaseURL}:${Const|PublicPort}/web/loginpage.html ; helper uri: optional: if it exists it will be used to tell the client to use ; this for all economy related things ;economy = ${Const|BaseURL}/economy ; web page of grid: optional: page providing further information about your grid - about = ${Const|BaseURL}/drupal/ + about = ${Const|BaseURL}:${Const|PublicPort}/web/about.html ; account creation: optional: page providing further information about obtaining ; a user account on your grid - register = ${Const|BaseURL}/drupal/content/How_to_join + register = ${Const|BaseURL}:${Const|PublicPort}/web/register.html ; help: optional: page providing further assistance for users of your grid - help = ${Const|BaseURL}/drupal/Tags/help + help = ${Const|BaseURL}:${Const|PublicPort}/web/help.html ; password help: optional: page providing password assistance for users of your grid - password = ${Const|BaseURL}/drupal + password = ${Const|BaseURL}:${Const|PublicPort}/web/password_help.html ; HG address of the gatekeeper, if you have one ; this is the entry point for all the regions of the world - ; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ + gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ ; HG user domain, if you have one ; this is the entry point for all user-related HG services - ; uas = ${Const|BaseURL}:${Const|PublicPort}/ + uas = ${Const|BaseURL}:${Const|PublicPort}/ [GatekeeperService] @@ -783,3 +787,6 @@ [MuteListService] LocalServiceModule = "OpenSim.Services.MuteListService.dll:MuteListService" + + +[WebService] diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index abe159b..81c5c9d 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -18,6 +18,7 @@ ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" + WebPath = "../../web" [Const] MOTD = "onefang needs a little coding or sysadmin work to keep IG going. Please help me find some." @@ -77,3 +78,25 @@ Region_Welcome = "DefaultRegion, FallbackRegion, Persistent" Region_Sandbox = "DefaultRegion, FallbackRegion, Persistent" Region_Kellietown = "DefaultRegion, FallbackRegion, Persistent" + +[GridInfoService] + ; login page: optional: if it exists it will be used to tell the client to use + ; this as splash page + welcome = ${Const|BaseURL}/drupal/loginpage + + ; helper uri: optional: if it exists it will be used to tell the client to use + ; this for all economy related things + ;economy = ${Const|BaseURL}/economy + + ; web page of grid: optional: page providing further information about your grid + about = ${Const|BaseURL}/drupal/ + + ; account creation: optional: page providing further information about obtaining + ; a user account on your grid + register = ${Const|BaseURL}/drupal/content/How_to_join + + ; help: optional: page providing further assistance for users of your grid + help = ${Const|BaseURL}/drupal/Tags/help + + ; password help: optional: page providing password assistance for users of your grid + password = ${Const|BaseURL}/drupal diff --git a/bin/config-include/config_MG.ini b/bin/config-include/config_MG.ini index a8992f8..62b523c 100644 --- a/bin/config-include/config_MG.ini +++ b/bin/config-include/config_MG.ini @@ -18,6 +18,7 @@ ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" + WebPath = "../../web" [Const] MOTD = "All of the World is a Stage, and Everyone's a Critic." @@ -98,3 +99,25 @@ Region_MisFitz_HyperPort = "FallbackRegion" Region_MisFitz_Sandbox = "FallbackRegion" Region_MisFitz_Continuum= "DefaultHGRegion" + +[GridInfoService] + ; login page: optional: if it exists it will be used to tell the client to use + ; this as splash page + welcome = ${Const|jOpensimURL}/index.php?option=com_opensim + + ; helper uri: optional: if it exists it will be used to tell the client to use + ; this for all economy related things + economy = ${Const|BaseURL}/_tools/helper/ + + ; web page of grid: optional: page providing further information about your grid + ;about = ${Const|BaseURL}/about + + ; account creation: optional: page providing further information about obtaining + ; a user account on your grid + ;register = ${Const|BaseURL}/register + + ; help: optional: page providing further assistance for users of your grid + ;help = ${Const|BaseURL}/help + + ; password help: optional: page providing password assistance for users of your grid + ;password = ${Const|BaseURL}/password diff --git a/bin/config-include/config_localhost.ini b/bin/config-include/config_localhost.ini index 9959ae1..e95b04c 100644 --- a/bin/config-include/config_localhost.ini +++ b/bin/config-include/config_localhost.ini @@ -18,6 +18,7 @@ ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" + WebPath = "../../web" [Const] MOTD = "Welcome to your local grid." -- cgit v1.1