diff options
author | BlueWall | 2014-11-30 13:59:23 -0500 |
---|---|---|
committer | BlueWall | 2014-11-30 13:59:23 -0500 |
commit | 5f88ceab2269a0413b9a57674a0a1b097c374fd4 (patch) | |
tree | 2072c17da5a0473bfef2e2b839d074ff5b013f14 /bin | |
parent | Correct 690fe0c to actually log the exception reported in DoOnRezScriptQueue(... (diff) | |
download | opensim-SC-5f88ceab2269a0413b9a57674a0a1b097c374fd4.zip opensim-SC-5f88ceab2269a0413b9a57674a0a1b097c374fd4.tar.gz opensim-SC-5f88ceab2269a0413b9a57674a0a1b097c374fd4.tar.bz2 opensim-SC-5f88ceab2269a0413b9a57674a0a1b097c374fd4.tar.xz |
Set configuration files to use key expansion for widely used common settings.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSim.ini.example | 20 | ||||
-rw-r--r-- | bin/Robust.HG.ini.example | 151 | ||||
-rw-r--r-- | bin/Robust.ini.example | 87 | ||||
-rw-r--r-- | bin/config-include/GridCommon.ini.example | 48 | ||||
-rw-r--r-- | bin/config-include/StandaloneCommon.ini.example | 58 |
5 files changed, 211 insertions, 153 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 0374877..da88e7f 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -42,6 +42,17 @@ | |||
42 | ;; out. | 42 | ;; out. |
43 | 43 | ||
44 | 44 | ||
45 | [Const] | ||
46 | ;# {BaseURL} {} {BaseURL} {"http://example.com","http://127.0.0.1"} "http://127.0.0.1" | ||
47 | BaseURL = http://127.0.0.1 | ||
48 | |||
49 | ;# {PublicPort} {} {PublicPort} {8002} "8002" | ||
50 | PublicPort = "8002" | ||
51 | |||
52 | ;# {PrivatePort} {} {PublicPort} {8003} "8003" | ||
53 | PrivatePort = "8003" | ||
54 | |||
55 | |||
45 | [Startup] | 56 | [Startup] |
46 | ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) " | 57 | ;# {ConsolePrompt} {} {ConsolePrompt} {} "Region (\R) " |
47 | ;; Console prompt | 58 | ;; Console prompt |
@@ -597,7 +608,8 @@ | |||
597 | 608 | ||
598 | ;# {OfflineMessageURL} {OfflineMessageModule:OfflineMessageModule Offline Message Module V2:Offline Message Module V2} {URL of offline messaging service} {} | 609 | ;# {OfflineMessageURL} {OfflineMessageModule:OfflineMessageModule Offline Message Module V2:Offline Message Module V2} {URL of offline messaging service} {} |
599 | ;; URL of web service for offline message storage. Leave it commented if your service is local to the sim. | 610 | ;; URL of web service for offline message storage. Leave it commented if your service is local to the sim. |
600 | ; OfflineMessageURL = http://yourserver/Offline.php or http://yourrobustserver:8003 | 611 | ; OfflineMessageURL = ${Const|BaseURL}/Offline.php |
612 | ; OfflineMessageURL = ${Const|BaseURL}:${Const|PrivtePort} | ||
601 | 613 | ||
602 | ;# {StorageProvider} {Offline Message Module V2:Offline Message Module V2} {DLL that provides the storage interface} {OpenSim.Data.MySQL.dll} | 614 | ;# {StorageProvider} {Offline Message Module V2:Offline Message Module V2} {DLL that provides the storage interface} {OpenSim.Data.MySQL.dll} |
603 | ;; For standalones, this is the storage dll. | 615 | ;; For standalones, this is the storage dll. |
@@ -1037,7 +1049,7 @@ | |||
1037 | ;; URI for the groups services of this grid | 1049 | ;; URI for the groups services of this grid |
1038 | ;; e.g. http://yourxmlrpcserver.com/xmlrpc.php for Flotsam XmlRpc | 1050 | ;; e.g. http://yourxmlrpcserver.com/xmlrpc.php for Flotsam XmlRpc |
1039 | ;; or http://mygridserver.com:82/Grid/ for SimianGrid | 1051 | ;; or http://mygridserver.com:82/Grid/ for SimianGrid |
1040 | ;; or http:://mygridserver.com:8003 for robust, V2 | 1052 | ;; or http:://${Const|BaseURL}:${Const|PrivatePort} for robust, V2 |
1041 | ;; Leave it commented for standalones, V2 | 1053 | ;; Leave it commented for standalones, V2 |
1042 | ; GroupsServerURI = "" | 1054 | ; GroupsServerURI = "" |
1043 | 1055 | ||
@@ -1105,13 +1117,13 @@ | |||
1105 | ;# {ProfileServiceURL} {} {Set url to UserProfilesService} {} | 1117 | ;# {ProfileServiceURL} {} {Set url to UserProfilesService} {} |
1106 | ;; Set the value of the url to your UserProfilesService | 1118 | ;; Set the value of the url to your UserProfilesService |
1107 | ;; If un-set / "" the module is disabled | 1119 | ;; If un-set / "" the module is disabled |
1108 | ;; ProfileServiceURL = http://127.0.0.1:8002 | 1120 | ;; ProfileServiceURL = ${Const|BaseURL}:${Const|PublicPort} |
1109 | 1121 | ||
1110 | [XBakes] | 1122 | [XBakes] |
1111 | ;# {URL} {} {Set URL for Baked texture service} {} | 1123 | ;# {URL} {} {Set URL for Baked texture service} {} |
1112 | ;; Sets the URL for the baked texture ROBUST service. | 1124 | ;; Sets the URL for the baked texture ROBUST service. |
1113 | ;; Disabled when unset. | 1125 | ;; Disabled when unset. |
1114 | ;; URL = http://127.0.0.1:8003 | 1126 | ;; URL = ${Const|BaseURL}:${Const|PrivatePort} |
1115 | 1127 | ||
1116 | [Architecture] | 1128 | [Architecture] |
1117 | ;# {Include-Architecture} {} {Choose one of the following architectures} {config-include/Standalone.ini config-include/StandaloneHypergrid.ini config-include/Grid.ini config-include/GridHypergrid.ini config-include/SimianGrid.ini config-include/HyperSimianGrid.ini} config-include/Standalone.ini | 1129 | ;# {Include-Architecture} {} {Choose one of the following architectures} {config-include/Standalone.ini config-include/StandaloneHypergrid.ini config-include/Grid.ini config-include/GridHypergrid.ini config-include/SimianGrid.ini config-include/HyperSimianGrid.ini} config-include/Standalone.ini |
diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index fe2b4f9..8982b71 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example | |||
@@ -10,6 +10,29 @@ | |||
10 | ; * OpenSim.Server.Handlers.dll:XInventoryInConnector | 10 | ; * OpenSim.Server.Handlers.dll:XInventoryInConnector |
11 | ; * are started in port 8002, outside the firewall | 11 | ; * are started in port 8002, outside the firewall |
12 | ; * | 12 | ; * |
13 | ; ** | ||
14 | ; * | ||
15 | ; * The Const section allows us to define some basic information that we | ||
16 | ; * will use throughout our configuration. We will provide examples for | ||
17 | ; * setting the base url of the Robust server and the public and private ports | ||
18 | ; * it uses. Changing the values of the constants will set the operating | ||
19 | ; * parameters thoughout the configuration. Other constants that may prove | ||
20 | ; * to be useful may be added to the followin section. They may be | ||
21 | ; * referenced anywhere in the configuration by using ${Const|Name}. One | ||
22 | ; * such use is providing a base path for setting locations that Robust | ||
23 | ; * uses to write data. | ||
24 | ; * | ||
25 | [Const] | ||
26 | |||
27 | ; The URL of the Robust server | ||
28 | BaseURL = "http://127.0.0.1" | ||
29 | |||
30 | ; The public port of the Robust server | ||
31 | PublicPort = "8002" | ||
32 | |||
33 | ; The private port of the Robust server | ||
34 | PrivatePort = "8003" | ||
35 | |||
13 | ; * The startup section lists all the connectors to start up in this server | 36 | ; * The startup section lists all the connectors to start up in this server |
14 | ; * instance. This may be only one, or it may be the entire server suite. | 37 | ; * instance. This may be only one, or it may be the entire server suite. |
15 | ; * Multiple connectors should be separated by commas. | 38 | ; * Multiple connectors should be separated by commas. |
@@ -49,52 +72,52 @@ | |||
49 | 72 | ||
50 | 73 | ||
51 | [ServiceList] | 74 | [ServiceList] |
52 | AssetServiceConnector = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector" | 75 | AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" |
53 | InventoryInConnector = "8003/OpenSim.Server.Handlers.dll:XInventoryInConnector" | 76 | InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" |
54 | ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below) | 77 | ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below) |
55 | ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector" | 78 | ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector" |
56 | GridServiceConnector = "8003/OpenSim.Server.Handlers.dll:GridServiceConnector" | 79 | GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector" |
57 | GridInfoServerInConnector = "8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector" | 80 | GridInfoServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GridInfoServerInConnector" |
58 | AuthenticationServiceConnector = "8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector" | 81 | AuthenticationServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector" |
59 | OpenIdServerConnector = "8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector" | 82 | OpenIdServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:OpenIdServerConnector" |
60 | AvatarServiceConnector = "8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector" | 83 | AvatarServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AvatarServiceConnector" |
61 | LLLoginServiceInConnector = "8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector" | 84 | LLLoginServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector" |
62 | PresenceServiceConnector = "8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector" | 85 | PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector" |
63 | UserAccountServiceConnector = "8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" | 86 | UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" |
64 | GridUserServiceConnector = "8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector" | 87 | GridUserServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridUserServiceConnector" |
65 | FriendsServiceConnector = "8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" | 88 | FriendsServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:FriendsServiceConnector" |
66 | MapAddServiceConnector = "8003/OpenSim.Server.Handlers.dll:MapAddServiceConnector" | 89 | MapAddServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MapAddServiceConnector" |
67 | MapGetServiceConnector = "8002/OpenSim.Server.Handlers.dll:MapGetServiceConnector" | 90 | MapGetServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:MapGetServiceConnector" |
68 | ;; Uncomment this if you want offline IM to work | 91 | ;; Uncomment this if you want offline IM to work |
69 | ; OfflineIMServiceConnector = "8003/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector" | 92 | ; OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector" |
70 | ;; Uncomment this if you want Groups V2 to work | 93 | ;; Uncomment this if you want Groups V2 to work |
71 | ; GroupsServiceConnector = "8003/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector" | 94 | ; GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector" |
72 | ;; Uncomment to provide bakes caching | 95 | ;; Uncomment to provide bakes caching |
73 | ;BakedTextureService = "8003/OpenSim.Server.Handlers.dll:XBakesConnector" | 96 | ;BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector" |
74 | 97 | ||
75 | ;; Additions for Hypergrid | 98 | ;; Additions for Hypergrid |
76 | 99 | ||
77 | GatekeeperServiceInConnector = "8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector" | 100 | GatekeeperServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector" |
78 | UserAgentServerConnector = "8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector" | 101 | UserAgentServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserAgentServerConnector" |
79 | HeloServiceInConnector = "8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" | 102 | HeloServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:HeloServiceInConnector" |
80 | HGFriendsServerConnector = "8002/OpenSim.Server.Handlers.dll:HGFriendsServerConnector" | 103 | HGFriendsServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:HGFriendsServerConnector" |
81 | InstantMessageServerConnector = "8002/OpenSim.Server.Handlers.dll:InstantMessageServerConnector" | 104 | InstantMessageServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:InstantMessageServerConnector" |
82 | HGInventoryServiceConnector = "HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector" | 105 | HGInventoryServiceConnector = "HGInventoryService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" |
83 | HGAssetServiceConnector = "HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector" | 106 | HGAssetServiceConnector = "HGAssetService@${Const|PublicPort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" |
84 | ;; Uncomment this if you want Groups V2, HG to work | 107 | ;; Uncomment this if you want Groups V2, HG to work |
85 | ; HGGroupsServiceConnector = "8002/OpenSim.Addons.Groups.dll:HGGroupsServiceRobustConnector" | 108 | ; HGGroupsServiceConnector = "${Const|PublicPort}/OpenSim.Addons.Groups.dll:HGGroupsServiceRobustConnector" |
86 | ;; Additions for other add-on modules. For example: | 109 | ;; Additions for other add-on modules. For example: |
87 | ;; WifiServerConnector = "8002/Diva.Wifi.dll:WifiServerConnector" | 110 | ;; WifiServerConnector = "${Const|PublicPort}/Diva.Wifi.dll:WifiServerConnector" |
88 | 111 | ||
89 | ;; Uncomment for UserProfiles see [UserProfilesService] to configure... | 112 | ;; Uncomment for UserProfiles see [UserProfilesService] to configure... |
90 | ; UserProfilesServiceConnector = "8002/OpenSim.Server.Handlers.dll:UserProfilesConnector" | 113 | ; UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector" |
91 | 114 | ||
92 | 115 | ||
93 | ; * This is common for all services, it's the network setup for the entire | 116 | ; * This is common for all services, it's the network setup for the entire |
94 | ; * server instance, if none is specified above | 117 | ; * server instance, if none is specified above |
95 | ; * | 118 | ; * |
96 | [Network] | 119 | [Network] |
97 | port = 8003 | 120 | port = ${Const|PrivatePort} |
98 | 121 | ||
99 | ; HTTPS for "Out of band" management applications such as the remote admin | 122 | ; HTTPS for "Out of band" management applications such as the remote admin |
100 | ; module. May specify https_main = True to make the main http server | 123 | ; module. May specify https_main = True to make the main http server |
@@ -116,7 +139,7 @@ | |||
116 | ; cert_pass = "password" | 139 | ; cert_pass = "password" |
117 | 140 | ||
118 | ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services. | 141 | ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services. |
119 | ;; Use this if your central services in port 8003 need to be accessible on the Internet | 142 | ;; Use this if your central services in port ${Const|PrivatePort} need to be accessible on the Internet |
120 | ;; but you want to protect them from unauthorized access. | 143 | ;; but you want to protect them from unauthorized access. |
121 | ; AuthType = "BasicHttpAuthentication" | 144 | ; AuthType = "BasicHttpAuthentication" |
122 | ; HttpAuthUsername = "some_username" | 145 | ; HttpAuthUsername = "some_username" |
@@ -142,16 +165,16 @@ | |||
142 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} | 165 | ;# {HomeURI} {Hypergrid} {The Home URL of this world} {} |
143 | ;; This is the address of the external robust server that | 166 | ;; This is the address of the external robust server that |
144 | ;; runs the UserAgentsService, possibly this server. | 167 | ;; runs the UserAgentsService, possibly this server. |
145 | ;; For example http://myworld.com:8002 | 168 | ;; For example http://myworld.com:${Const|PublicPort} |
146 | ;; This is a default that can be overwritten in some sections. | 169 | ;; This is a default that can be overwritten in some sections. |
147 | ; HomeURI = "http://127.0.0.1:8002" | 170 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
148 | 171 | ||
149 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | 172 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} |
150 | ;; This is the address of the external robust server | 173 | ;; This is the address of the external robust server |
151 | ;; that runs the Gatekeeper service, possibly this server. | 174 | ;; that runs the Gatekeeper service, possibly this server. |
152 | ;; For example http://myworld.com:8002 | 175 | ;; For example http://myworld.com:${Const|PublicPort} |
153 | ;; This is a default that can be overwritten in some sections. | 176 | ;; This is a default that can be overwritten in some sections. |
154 | ; GatekeeperURI = "http://127.0.0.1:8002" | 177 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
155 | 178 | ||
156 | 179 | ||
157 | [DatabaseService] | 180 | [DatabaseService] |
@@ -236,7 +259,7 @@ | |||
236 | ExportSupported = true | 259 | ExportSupported = true |
237 | 260 | ||
238 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | 261 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
239 | ; GatekeeperURI = "http://127.0.0.1:8002" | 262 | ; GatekeeperURI = "http://127.0.0.1:${Const|PublicPort}" |
240 | 263 | ||
241 | 264 | ||
242 | ; * This is the configuration for the freeswitch server in grid mode | 265 | ; * This is the configuration for the freeswitch server in grid mode |
@@ -390,31 +413,31 @@ | |||
390 | AllowRemoteSetLoginLevel = "false" | 413 | AllowRemoteSetLoginLevel = "false" |
391 | 414 | ||
392 | ; For V2 map | 415 | ; For V2 map |
393 | MapTileURL = "http://127.0.0.1:8002/"; | 416 | MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/"; |
394 | 417 | ||
395 | ; Url to search service | 418 | ; Url to search service |
396 | ; SearchURL = "http://127.0.0.1:8002/"; | 419 | ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}/"; |
397 | 420 | ||
398 | ; For V3 destination guide | 421 | ; For V3 destination guide |
399 | ; DestinationGuide = "http://127.0.0.1/guide" | 422 | ; DestinationGuide = "${Const|BaseURL}/guide" |
400 | 423 | ||
401 | ; For V3 avatar picker (( work in progress )) | 424 | ; For V3 avatar picker (( work in progress )) |
402 | ; AvatarPicker = "http://127.0.0.1/avatars" | 425 | ; AvatarPicker = "${Const|BaseURL}/avatars" |
403 | 426 | ||
404 | ; If you run this login server behind a proxy, set this to true | 427 | ; If you run this login server behind a proxy, set this to true |
405 | ; HasProxy = false | 428 | ; HasProxy = false |
406 | 429 | ||
407 | ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) | 430 | ; Defaults for the users, if none is specified in the useraccounts table entry (ServiceURLs) |
408 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | 431 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented |
409 | ; GatekeeperURI = "http://127.0.0.1:8002" | 432 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
410 | 433 | ||
411 | SRV_HomeURI = "http://127.0.0.1:8002" | 434 | SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
412 | SRV_InventoryServerURI = "http://127.0.0.1:8002" | 435 | SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
413 | SRV_AssetServerURI = "http://127.0.0.1:8002" | 436 | SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
414 | SRV_ProfileServerURI = "http://127.0.0.1:8002" | 437 | SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
415 | SRV_FriendsServerURI = "http://127.0.0.1:8002" | 438 | SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
416 | SRV_IMServerURI = "http://127.0.0.1:8002" | 439 | SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
417 | SRV_GroupsServerURI = "http://127.0.0.1:8002" | 440 | SRV_GroupsServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
418 | 441 | ||
419 | ;; Regular expressions for controlling which client versions are accepted/denied. | 442 | ;; Regular expressions for controlling which client versions are accepted/denied. |
420 | ;; An empty string means nothing is checked. | 443 | ;; An empty string means nothing is checked. |
@@ -452,7 +475,7 @@ | |||
452 | ; Set this if you want to change the default | 475 | ; Set this if you want to change the default |
453 | ; TilesStoragePath = "maptiles" | 476 | ; TilesStoragePath = "maptiles" |
454 | ; | 477 | ; |
455 | ; If for some reason you have the AddMapTile service outside the firewall (e.g. 8002), | 478 | ; If for some reason you have the AddMapTile service outside the firewall (e.g. ${Const|PublicPort}), |
456 | ; you may want to set this. Otherwise, don't set it, because it's already protected. | 479 | ; you may want to set this. Otherwise, don't set it, because it's already protected. |
457 | ; GridService = "OpenSim.Services.GridService.dll:GridService" | 480 | ; GridService = "OpenSim.Services.GridService.dll:GridService" |
458 | ; | 481 | ; |
@@ -470,7 +493,7 @@ | |||
470 | ; See http://opensimulator.org/wiki/GridInfo | 493 | ; See http://opensimulator.org/wiki/GridInfo |
471 | 494 | ||
472 | ; login uri: for grid this is the login server URI | 495 | ; login uri: for grid this is the login server URI |
473 | login = http://127.0.0.1:8002/ | 496 | login = ${Const|BaseURL}:${Const|PublicPort}/ |
474 | 497 | ||
475 | ; long grid name: the long name of your grid | 498 | ; long grid name: the long name of your grid |
476 | gridname = "the lost continent of hippo" | 499 | gridname = "the lost continent of hippo" |
@@ -480,32 +503,32 @@ | |||
480 | 503 | ||
481 | ; login page: optional: if it exists it will be used to tell the client to use | 504 | ; login page: optional: if it exists it will be used to tell the client to use |
482 | ; this as splash page | 505 | ; this as splash page |
483 | ;welcome = http://127.0.0.1/welcome | 506 | ;welcome = ${Const|BaseURL}/welcome |
484 | 507 | ||
485 | ; helper uri: optional: if it exists if will be used to tell the client to use | 508 | ; helper uri: optional: if it exists if will be used to tell the client to use |
486 | ; this for all economy related things | 509 | ; this for all economy related things |
487 | ;economy = http://127.0.0.1:8002/ | 510 | ;economy = ${Const|BaseURL}:${Const|PublicPort}/ |
488 | 511 | ||
489 | ; web page of grid: optional: page providing further information about your grid | 512 | ; web page of grid: optional: page providing further information about your grid |
490 | ;about = http://127.0.0.1/about/ | 513 | ;about = ${Const|BaseURL}/about/ |
491 | 514 | ||
492 | ; account creation: optional: page providing further information about obtaining | 515 | ; account creation: optional: page providing further information about obtaining |
493 | ; a user account on your grid | 516 | ; a user account on your grid |
494 | ;register = http://127.0.0.1/register | 517 | ;register = ${Const|BaseURL}/register |
495 | 518 | ||
496 | ; help: optional: page providing further assistance for users of your grid | 519 | ; help: optional: page providing further assistance for users of your grid |
497 | ;help = http://127.0.0.1/help | 520 | ;help = ${Const|BaseURL}/help |
498 | 521 | ||
499 | ; password help: optional: page providing password assistance for users of your grid | 522 | ; password help: optional: page providing password assistance for users of your grid |
500 | ;password = http://127.0.0.1/password | 523 | ;password = ${Const|BaseURL}/password |
501 | 524 | ||
502 | ; HG address of the gatekeeper, if you have one | 525 | ; HG address of the gatekeeper, if you have one |
503 | ; this is the entry point for all the regions of the world | 526 | ; this is the entry point for all the regions of the world |
504 | ; gatekeeper = http://127.0.0.1:8002/ | 527 | ; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ |
505 | 528 | ||
506 | ; HG user domain, if you have one | 529 | ; HG user domain, if you have one |
507 | ; this is the entry point for all user-related HG services | 530 | ; this is the entry point for all user-related HG services |
508 | ; uas = http://127.0.0.1:8002/ | 531 | ; uas = ${Const|BaseURL}:${Const|PublicPort}/ |
509 | 532 | ||
510 | 533 | ||
511 | [GatekeeperService] | 534 | [GatekeeperService] |
@@ -520,7 +543,7 @@ | |||
520 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" | 543 | SimulationService ="OpenSim.Services.Connectors.dll:SimulationServiceConnector" |
521 | ; how does the outside world reach me? This acts as public key too. | 544 | ; how does the outside world reach me? This acts as public key too. |
522 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | 545 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented |
523 | ; ExternalName = "http://127.0.0.1:8002" | 546 | ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" |
524 | 547 | ||
525 | ; Does this grid allow incoming links to any region in it? | 548 | ; Does this grid allow incoming links to any region in it? |
526 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | 549 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section |
@@ -551,11 +574,11 @@ | |||
551 | ;; | 574 | ;; |
552 | ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept. | 575 | ;; If ForeignAgentsAllowed is true, make exceptions using AllowExcept. |
553 | ;; Leave blank or commented for no exceptions. | 576 | ;; Leave blank or commented for no exceptions. |
554 | ; AllowExcept = "http://griefer.com:8002, http://enemy.com:8002" | 577 | ; AllowExcept = "http://griefer.com:${Const|PublicPort}, http://enemy.com:8002" |
555 | ;; | 578 | ;; |
556 | ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept | 579 | ;; If ForeignAgentsAllowed is false, make exceptions using DisallowExcept |
557 | ;; Leave blank or commented for no exceptions. | 580 | ;; Leave blank or commented for no exceptions. |
558 | ; DisallowExcept = "http://myfriendgrid.com:8002, http://myboss.com:8002" | 581 | ; DisallowExcept = "http://myfriendgrid.com:${Const|PublicPort}, http://myboss.com:8002" |
559 | 582 | ||
560 | 583 | ||
561 | [UserAgentService] | 584 | [UserAgentService] |
@@ -589,11 +612,11 @@ | |||
589 | ;; | 612 | ;; |
590 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept | 613 | ;; If ForeignTripsAllowed is false, make exceptions using DisallowExcept |
591 | ;; Leave blank or commented for no exceptions. | 614 | ;; Leave blank or commented for no exceptions. |
592 | ; DisallowExcept_Level_0 = "http://myothergrid.com:8002, http://boss.com:8002" | 615 | ; DisallowExcept_Level_0 = "http://myothergrid.com:${Const|PublicPort}, http://boss.com:8002" |
593 | ;; | 616 | ;; |
594 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. | 617 | ;; If ForeignTripsAllowed is true, make exceptions using AllowExcept. |
595 | ;; Leave blank or commented for no exceptions. | 618 | ;; Leave blank or commented for no exceptions. |
596 | ; AllowExcept_Level_200 = "http://griefer.com:8002, http://enemy.com:8002" | 619 | ; AllowExcept_Level_200 = "http://griefer.com:${Const|PublicPort}, http://enemy.com:8002" |
597 | 620 | ||
598 | ;; This variable controls what is exposed to profiles of local users | 621 | ;; This variable controls what is exposed to profiles of local users |
599 | ;; as seen from outside of this grid. Leave it uncommented for exposing | 622 | ;; as seen from outside of this grid. Leave it uncommented for exposing |
@@ -621,7 +644,7 @@ | |||
621 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" | 644 | AvatarService = "OpenSim.Services.AvatarService.dll:AvatarService" |
622 | 645 | ||
623 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't | 646 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't |
624 | ; HomeURI = "http://127.0.0.1:8002" | 647 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
625 | 648 | ||
626 | 649 | ||
627 | ; * The interface that local users get when they are in other grids. | 650 | ; * The interface that local users get when they are in other grids. |
@@ -633,7 +656,7 @@ | |||
633 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" | 656 | UserAccountsService = "OpenSim.Services.UserAccountService.dll:UserAccountService" |
634 | 657 | ||
635 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't | 658 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't |
636 | ; HomeURI = "http://127.0.0.1:8002" | 659 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
637 | 660 | ||
638 | ;; The asset types that this grid can export to / import from other grids. | 661 | ;; The asset types that this grid can export to / import from other grids. |
639 | ;; Comma separated. | 662 | ;; Comma separated. |
@@ -678,7 +701,7 @@ | |||
678 | 701 | ||
679 | ;; What is the HomeURI of users associated with this grid? | 702 | ;; What is the HomeURI of users associated with this grid? |
680 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't | 703 | ;; Can overwrite the default in [Hypergrid], but probably shouldn't |
681 | ; HomeURI = "http://127.0.0.1:8002" | 704 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
682 | 705 | ||
683 | 706 | ||
684 | [UserProfilesService] | 707 | [UserProfilesService] |
diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example index 47b8e6f..0ce16ba 100644 --- a/bin/Robust.ini.example +++ b/bin/Robust.ini.example | |||
@@ -1,6 +1,29 @@ | |||
1 | ; * Run | 1 | ; * Run |
2 | ; * $ Robust.exe -inifile Robust.ini | 2 | ; * $ Robust.exe -inifile Robust.ini |
3 | ; * | 3 | ; * |
4 | ; ** | ||
5 | ; * | ||
6 | ; * The Const section allows us to define some basic information that we | ||
7 | ; * will use throughout our configuration. We will provide examples for | ||
8 | ; * setting the base url of the Robust server and the public and private ports | ||
9 | ; * it uses. Changing the values of the constants will set the operating | ||
10 | ; * parameters thoughout the configuration. Other constants that may prove | ||
11 | ; * to be useful may be added to the followin section. They may be | ||
12 | ; * referenced anywhere in the configuration by using ${Const|Name}. One | ||
13 | ; * such use is providing a base path for setting locations that Robust | ||
14 | ; * uses to write data. | ||
15 | ; * | ||
16 | [Const] | ||
17 | |||
18 | ; The URL of the Robust server | ||
19 | BaseURL = "http://127.0.0.1" | ||
20 | |||
21 | ; The public port of the Robust server | ||
22 | PublicPort = "8002" | ||
23 | |||
24 | ; The private port of the Robust server | ||
25 | PrivatePort = "8003" | ||
26 | |||
4 | 27 | ||
5 | ; * The startup section lists all the connectors to start up in this server | 28 | ; * The startup section lists all the connectors to start up in this server |
6 | ; * instance. This may be only one, or it may be the entire server suite. | 29 | ; * instance. This may be only one, or it may be the entire server suite. |
@@ -40,37 +63,37 @@ | |||
40 | ConsoleHistoryFileLines = 100 | 63 | ConsoleHistoryFileLines = 100 |
41 | 64 | ||
42 | [ServiceList] | 65 | [ServiceList] |
43 | AssetServiceConnector = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector" | 66 | AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector" |
44 | InventoryInConnector = "8003/OpenSim.Server.Handlers.dll:XInventoryInConnector" | 67 | InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector" |
45 | ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below) | 68 | ;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below) |
46 | ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector" | 69 | ;VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector" |
47 | GridServiceConnector = "8003/OpenSim.Server.Handlers.dll:GridServiceConnector" | 70 | GridServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridServiceConnector" |
48 | GridInfoServerInConnector = "8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector" | 71 | GridInfoServerInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:GridInfoServerInConnector" |
49 | AuthenticationServiceConnector = "8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector" | 72 | AuthenticationServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector" |
50 | OpenIdServerConnector = "8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector" | 73 | OpenIdServerConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:OpenIdServerConnector" |
51 | AvatarServiceConnector = "8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector" | 74 | AvatarServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AvatarServiceConnector" |
52 | LLLoginServiceInConnector = "8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector" | 75 | LLLoginServiceInConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector" |
53 | PresenceServiceConnector = "8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector" | 76 | PresenceServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:PresenceServiceConnector" |
54 | UserAccountServiceConnector = "8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" | 77 | UserAccountServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:UserAccountServiceConnector" |
55 | GridUserServiceConnector = "8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector" | 78 | GridUserServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:GridUserServiceConnector" |
56 | FriendsServiceConnector = "8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" | 79 | FriendsServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:FriendsServiceConnector" |
57 | MapAddServiceConnector = "8003/OpenSim.Server.Handlers.dll:MapAddServiceConnector" | 80 | MapAddServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:MapAddServiceConnector" |
58 | MapGetServiceConnector = "8002/OpenSim.Server.Handlers.dll:MapGetServiceConnector" | 81 | MapGetServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:MapGetServiceConnector" |
59 | ;; Uncomment this if you want offline IM to work | 82 | ;; Uncomment this if you want offline IM to work |
60 | ;OfflineIMServiceConnector = "8003/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector" | 83 | ;OfflineIMServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.OfflineIM.dll:OfflineIMServiceRobustConnector" |
61 | ;; Uncomment this if you want Groups V2 to work | 84 | ;; Uncomment this if you want Groups V2 to work |
62 | ;GroupsServiceConnector = "8003/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector" | 85 | ;GroupsServiceConnector = "${Const|PrivatePort}/OpenSim.Addons.Groups.dll:GroupsServiceRobustConnector" |
63 | ;; Uncomment to provide bakes caching | 86 | ;; Uncomment to provide bakes caching |
64 | ;BakedTextureService = "8003/OpenSim.Server.Handlers.dll:XBakesConnector" | 87 | ;BakedTextureService = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XBakesConnector" |
65 | 88 | ||
66 | ;; Uncomment for UserProfiles see [UserProfilesService] to configure... | 89 | ;; Uncomment for UserProfiles see [UserProfilesService] to configure... |
67 | ; UserProfilesServiceConnector = "8002/OpenSim.Server.Handlers.dll:UserProfilesConnector" | 90 | ; UserProfilesServiceConnector = "${Const|PublicPort}/OpenSim.Server.Handlers.dll:UserProfilesConnector" |
68 | 91 | ||
69 | ; * This is common for all services, it's the network setup for the entire | 92 | ; * This is common for all services, it's the network setup for the entire |
70 | ; * server instance, if none is specified above | 93 | ; * server instance, if none is specified above |
71 | ; * | 94 | ; * |
72 | [Network] | 95 | [Network] |
73 | port = 8003 | 96 | port = ${Const|PrivatePort} |
74 | 97 | ||
75 | ; HTTPS for "Out of band" management applications such as the remote admin | 98 | ; HTTPS for "Out of band" management applications such as the remote admin |
76 | ; module. May specify https_main = True to make the main http server | 99 | ; module. May specify https_main = True to make the main http server |
@@ -92,7 +115,7 @@ | |||
92 | ; cert_pass = "password" | 115 | ; cert_pass = "password" |
93 | 116 | ||
94 | ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services. | 117 | ;; The follow 3 variables are for HTTP Basic Authentication for the Robust services. |
95 | ;; Use this if your central services in port 8003 need to be accessible on the Internet | 118 | ;; Use this if your central services in port ${Const|PrivatePort} need to be accessible on the Internet |
96 | ;; but you want to protect them from unauthorized access. | 119 | ;; but you want to protect them from unauthorized access. |
97 | ; AuthType = "BasicHttpAuthentication" | 120 | ; AuthType = "BasicHttpAuthentication" |
98 | ; HttpAuthUsername = "some_username" | 121 | ; HttpAuthUsername = "some_username" |
@@ -348,16 +371,16 @@ | |||
348 | AllowRemoteSetLoginLevel = "false" | 371 | AllowRemoteSetLoginLevel = "false" |
349 | 372 | ||
350 | ; For V2 map | 373 | ; For V2 map |
351 | MapTileURL = "http://127.0.0.1:8002/"; | 374 | MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/"; |
352 | 375 | ||
353 | ; Url to search service | 376 | ; Url to search service |
354 | ; SearchURL = "http://127.0.0.1:8002/"; | 377 | ; SearchURL = "${Const|BaseURL}:${Const|PublicPort}/"; |
355 | 378 | ||
356 | ; For V3 destination guide | 379 | ; For V3 destination guide |
357 | ; DestinationGuide = "http://127.0.0.1/guide" | 380 | ; DestinationGuide = "${Const|BaseURL}/guide" |
358 | 381 | ||
359 | ; For V3 avatar picker (( work in progress )) | 382 | ; For V3 avatar picker (( work in progress )) |
360 | ; AvatarPicker = "http://127.0.0.1/avatars" | 383 | ; AvatarPicker = "${Const|BaseURL}/avatars" |
361 | 384 | ||
362 | ; If you run this login server behind a proxy, set this to true | 385 | ; If you run this login server behind a proxy, set this to true |
363 | ; HasProxy = false | 386 | ; HasProxy = false |
@@ -424,7 +447,7 @@ | |||
424 | ; Set this if you want to change the default | 447 | ; Set this if you want to change the default |
425 | ; TilesStoragePath = "maptiles" | 448 | ; TilesStoragePath = "maptiles" |
426 | ; | 449 | ; |
427 | ; If for some reason you have the AddMapTile service outside the firewall (e.g. 8002), | 450 | ; If for some reason you have the AddMapTile service outside the firewall (e.g. ${Const|PublicPort}), |
428 | ; you may want to set this. Otherwise, don't set it, because it's already protected. | 451 | ; you may want to set this. Otherwise, don't set it, because it's already protected. |
429 | ; GridService = "OpenSim.Services.GridService.dll:GridService" | 452 | ; GridService = "OpenSim.Services.GridService.dll:GridService" |
430 | ; | 453 | ; |
@@ -447,7 +470,7 @@ | |||
447 | ; See http://opensimulator.org/wiki/GridInfo | 470 | ; See http://opensimulator.org/wiki/GridInfo |
448 | 471 | ||
449 | ; login uri: for grid this is the login server URI | 472 | ; login uri: for grid this is the login server URI |
450 | login = http://127.0.0.1:8002/ | 473 | login = ${Const|BaseURL}:${Const|PublicPort}/ |
451 | 474 | ||
452 | ; long grid name: the long name of your grid | 475 | ; long grid name: the long name of your grid |
453 | gridname = "the lost continent of hippo" | 476 | gridname = "the lost continent of hippo" |
@@ -457,24 +480,24 @@ | |||
457 | 480 | ||
458 | ; login page: optional: if it exists it will be used to tell the client to use | 481 | ; login page: optional: if it exists it will be used to tell the client to use |
459 | ; this as splash page | 482 | ; this as splash page |
460 | ;welcome = http://127.0.0.1/welcome | 483 | ;welcome = ${Const|BaseURL}/welcome |
461 | 484 | ||
462 | ; helper uri: optional: if it exists if will be used to tell the client to use | 485 | ; helper uri: optional: if it exists if will be used to tell the client to use |
463 | ; this for all economy related things | 486 | ; this for all economy related things |
464 | ;economy = http://127.0.0.1:8002/ | 487 | ;economy = ${Const|BaseURL}:${Const|PublicPort}/ |
465 | 488 | ||
466 | ; web page of grid: optional: page providing further information about your grid | 489 | ; web page of grid: optional: page providing further information about your grid |
467 | ;about = http://127.0.0.1/about/ | 490 | ;about = ${Const|BaseURL}/about/ |
468 | 491 | ||
469 | ; account creation: optional: page providing further information about obtaining | 492 | ; account creation: optional: page providing further information about obtaining |
470 | ; a user account on your grid | 493 | ; a user account on your grid |
471 | ;register = http://127.0.0.1/register | 494 | ;register = ${Const|BaseURL}/register |
472 | 495 | ||
473 | ; help: optional: page providing further assistance for users of your grid | 496 | ; help: optional: page providing further assistance for users of your grid |
474 | ;help = http://127.0.0.1/help | 497 | ;help = ${Const|BaseURL}/help |
475 | 498 | ||
476 | ; password help: optional: page providing password assistance for users of your grid | 499 | ; password help: optional: page providing password assistance for users of your grid |
477 | ;password = http://127.0.0.1/password | 500 | ;password = ${Const|BaseURL}/password |
478 | 501 | ||
479 | 502 | ||
480 | [UserProfilesService] | 503 | [UserProfilesService] |
diff --git a/bin/config-include/GridCommon.ini.example b/bin/config-include/GridCommon.ini.example index 59eebd8..2c3df8d 100644 --- a/bin/config-include/GridCommon.ini.example +++ b/bin/config-include/GridCommon.ini.example | |||
@@ -40,17 +40,17 @@ | |||
40 | ;; If this is a standalone world, this is the address of this instance. | 40 | ;; If this is a standalone world, this is the address of this instance. |
41 | ;; If this is a grided simulator, this is the address of the external robust server that | 41 | ;; If this is a grided simulator, this is the address of the external robust server that |
42 | ;; runs the UserAgentsService. | 42 | ;; runs the UserAgentsService. |
43 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | 43 | ;; For example http://myworld.com:9000 or http://myworld.com:${Const|PublicPort} |
44 | ;; This is a default that can be overwritten in some sections. | 44 | ;; This is a default that can be overwritten in some sections. |
45 | ; HomeURI = "http://127.0.0.1:9000" | 45 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
46 | 46 | ||
47 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | 47 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} |
48 | ;; If this is a standalone world, this is the address of this instance. | 48 | ;; If this is a standalone world, this is the address of this instance. |
49 | ;; If this is a grided simulator, this is the address of the external robust server | 49 | ;; If this is a grided simulator, this is the address of the external robust server |
50 | ;; that runs the Gatekeeper service. | 50 | ;; that runs the Gatekeeper service. |
51 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | 51 | ;; For example http://myworld.com:9000 or http://myworld.com:${Const|PublicPort} |
52 | ;; This is a default that can be overwritten in some sections. | 52 | ;; This is a default that can be overwritten in some sections. |
53 | ; GatekeeperURI = "http://127.0.0.1:9000" | 53 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
54 | 54 | ||
55 | [Modules] | 55 | [Modules] |
56 | ;; Choose one cache module and the corresponding config file, if it exists. | 56 | ;; Choose one cache module and the corresponding config file, if it exists. |
@@ -78,25 +78,25 @@ | |||
78 | ; | 78 | ; |
79 | ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. | 79 | ; Change this to your grid-wide asset server. Do not add a slash to the end of any of these addresses. |
80 | ; | 80 | ; |
81 | AssetServerURI = "http://mygridserver.com:8003" | 81 | AssetServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
82 | 82 | ||
83 | [InventoryService] | 83 | [InventoryService] |
84 | ; | 84 | ; |
85 | ; Change this to your grid-wide inventory server | 85 | ; Change this to your grid-wide inventory server |
86 | ; | 86 | ; |
87 | InventoryServerURI = "http://mygridserver.com:8003" | 87 | InventoryServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
88 | 88 | ||
89 | [GridInfo] | 89 | [GridInfo] |
90 | ; | 90 | ; |
91 | ; Change this to your grid info service | 91 | ; Change this to your grid info service |
92 | ; | 92 | ; |
93 | GridInfoURI = "http://mygridserver.com:8002" | 93 | GridInfoURI = "${Const|BaseURL}:${Const|PublicPort}" |
94 | 94 | ||
95 | [GridService] | 95 | [GridService] |
96 | ; | 96 | ; |
97 | ; Change this to your grid-wide grid server | 97 | ; Change this to your grid-wide grid server |
98 | ; | 98 | ; |
99 | GridServerURI = "http://mygridserver.com:8003" | 99 | GridServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
100 | ;AllowHypergridMapSearch = true | 100 | ;AllowHypergridMapSearch = true |
101 | 101 | ||
102 | ;; Directory for map tile images of linked regions | 102 | ;; Directory for map tile images of linked regions |
@@ -105,51 +105,51 @@ | |||
105 | ; === HG ONLY === | 105 | ; === HG ONLY === |
106 | ;; Change this to the address of your Gatekeeper service | 106 | ;; Change this to the address of your Gatekeeper service |
107 | ;; (usually bundled with the rest of the services in one | 107 | ;; (usually bundled with the rest of the services in one |
108 | ;; Robust server in port 8002, but not always) | 108 | ;; Robust server in port ${Const|PublicPort}, but not always) |
109 | Gatekeeper="http://mygridserver.com:8002" | 109 | Gatekeeper="${Const|BaseURL}:${Const|PublicPort}" |
110 | 110 | ||
111 | [Messaging] | 111 | [Messaging] |
112 | ; === HG ONLY === | 112 | ; === HG ONLY === |
113 | ;; Change this to the address of your Gatekeeper service | 113 | ;; Change this to the address of your Gatekeeper service |
114 | ;; (usually bundled with the rest of the services in one | 114 | ;; (usually bundled with the rest of the services in one |
115 | ;; Robust server in port 8002, but not always) | 115 | ;; Robust server in port ${Const|PublicPort}, but not always) |
116 | Gatekeeper = "http://mygridserver.com:8002" | 116 | Gatekeeper = "${Const|BaseURL}:${Const|PublicPort}" |
117 | 117 | ||
118 | [AvatarService] | 118 | [AvatarService] |
119 | ; | 119 | ; |
120 | ; Change this to your grid-wide grid server | 120 | ; Change this to your grid-wide grid server |
121 | ; | 121 | ; |
122 | AvatarServerURI = "http://mygridserver.com:8003" | 122 | AvatarServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
123 | 123 | ||
124 | [PresenceService] | 124 | [PresenceService] |
125 | ; | 125 | ; |
126 | ; Change this to your grid-wide presence server | 126 | ; Change this to your grid-wide presence server |
127 | ; | 127 | ; |
128 | PresenceServerURI = "http://mygridserver.com:8003" | 128 | PresenceServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
129 | 129 | ||
130 | [UserAccountService] | 130 | [UserAccountService] |
131 | ; | 131 | ; |
132 | ; Change this to your grid-wide user accounts server | 132 | ; Change this to your grid-wide user accounts server |
133 | ; | 133 | ; |
134 | UserAccountServerURI = "http://mygridserver.com:8003" | 134 | UserAccountServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
135 | 135 | ||
136 | [GridUserService] | 136 | [GridUserService] |
137 | ; | 137 | ; |
138 | ; Change this to your grid-wide user accounts server | 138 | ; Change this to your grid-wide user accounts server |
139 | ; | 139 | ; |
140 | GridUserServerURI = "http://mygridserver.com:8003" | 140 | GridUserServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
141 | 141 | ||
142 | [AuthenticationService] | 142 | [AuthenticationService] |
143 | ; | 143 | ; |
144 | ; Change this to your grid-wide authentication server | 144 | ; Change this to your grid-wide authentication server |
145 | ; | 145 | ; |
146 | AuthenticationServerURI = "http://mygridserver.com:8003" | 146 | AuthenticationServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
147 | 147 | ||
148 | [FriendsService] | 148 | [FriendsService] |
149 | ; | 149 | ; |
150 | ; Change this to your grid-wide friends server | 150 | ; Change this to your grid-wide friends server |
151 | ; | 151 | ; |
152 | FriendsServerURI = "http://mygridserver.com:8003" | 152 | FriendsServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
153 | 153 | ||
154 | [HGInventoryAccessModule] | 154 | [HGInventoryAccessModule] |
155 | ; | 155 | ; |
@@ -157,8 +157,8 @@ | |||
157 | ; Change this to your server | 157 | ; Change this to your server |
158 | ; accessible from other grids | 158 | ; accessible from other grids |
159 | ; | 159 | ; |
160 | HomeURI = "http://mygridserver.com:8002" | 160 | HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
161 | Gatekeeper = "http://mygridserver.com:8002" | 161 | Gatekeeper = "${Const|BaseURL}:${Const|PublicPort}" |
162 | ;; If you want to protect your assets from being copied by foreign visitors | 162 | ;; If you want to protect your assets from being copied by foreign visitors |
163 | ;; set this to false. You may want to do this on sims that have licensed content. | 163 | ;; set this to false. You may want to do this on sims that have licensed content. |
164 | ;; Default is true. | 164 | ;; Default is true. |
@@ -173,7 +173,7 @@ | |||
173 | ;; while separating regions' assets from users' assets. Asset transfer between | 173 | ;; while separating regions' assets from users' assets. Asset transfer between |
174 | ;; the users' asset server and the regions' asset server is done in HG-like manner. | 174 | ;; the users' asset server and the regions' asset server is done in HG-like manner. |
175 | ; CheckSeparateAssets = false | 175 | ; CheckSeparateAssets = false |
176 | ; RegionHGAssetServerURI = http://mygridserver.com:8002 | 176 | ; RegionHGAssetServerURI = ${Const|BaseURL}:${Const|PublicPort} |
177 | 177 | ||
178 | 178 | ||
179 | [HGAssetService] | 179 | [HGAssetService] |
@@ -182,7 +182,7 @@ | |||
182 | ; Change this to your server | 182 | ; Change this to your server |
183 | ; accessible from other grids | 183 | ; accessible from other grids |
184 | ; | 184 | ; |
185 | HomeURI = "http://mygridserver.com:8002" | 185 | HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
186 | 186 | ||
187 | ;; The asset types that this grid can export to / import from other grids. | 187 | ;; The asset types that this grid can export to / import from other grids. |
188 | ;; Comma separated. | 188 | ;; Comma separated. |
@@ -205,10 +205,10 @@ | |||
205 | ; === HG ONLY === | 205 | ; === HG ONLY === |
206 | ; Change this to your user agent server (HG robust) | 206 | ; Change this to your user agent server (HG robust) |
207 | ; | 207 | ; |
208 | UserAgentServerURI = "http://mygridserver.com:8002" | 208 | UserAgentServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
209 | 209 | ||
210 | [MapImageService] | 210 | [MapImageService] |
211 | MapImageServerURI = "http://mygridserver.com:8003" | 211 | MapImageServerURI = "${Const|BaseURL}:${Const|PrivatePort}" |
212 | 212 | ||
213 | [AuthorizationService] | 213 | [AuthorizationService] |
214 | ; If you have regions with access restrictions | 214 | ; If you have regions with access restrictions |
diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index c4ece54..f0bf3c8 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example | |||
@@ -41,17 +41,17 @@ | |||
41 | ;; If this is a standalone world, this is the address of this instance. | 41 | ;; If this is a standalone world, this is the address of this instance. |
42 | ;; If this is a grided simulator, this is the address of the external robust server that | 42 | ;; If this is a grided simulator, this is the address of the external robust server that |
43 | ;; runs the UserAgentsService. | 43 | ;; runs the UserAgentsService. |
44 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | 44 | ;; For example http://myworld.com:${Const|PublicPort} or http://myworld.com:8002 |
45 | ;; This is a default that can be overwritten in some sections. | 45 | ;; This is a default that can be overwritten in some sections. |
46 | ; HomeURI = "http://127.0.0.1:9000" | 46 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
47 | 47 | ||
48 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} | 48 | ;# {GatekeeperURI} {Hypergrid} {The URL of the gatekeeper of this world} {} |
49 | ;; If this is a standalone world, this is the address of this instance. | 49 | ;; If this is a standalone world, this is the address of this instance. |
50 | ;; If this is a grided simulator, this is the address of the external robust server | 50 | ;; If this is a grided simulator, this is the address of the external robust server |
51 | ;; that runs the Gatekeeper service. | 51 | ;; that runs the Gatekeeper service. |
52 | ;; For example http://myworld.com:9000 or http://myworld.com:8002 | 52 | ;; For example http://myworld.com:${Const|PublicPort} or http://myworld.com:8002 |
53 | ;; This is a default that can be overwritten in some sections. | 53 | ;; This is a default that can be overwritten in some sections. |
54 | ; GatekeeperURI = "http://127.0.0.1:9000" | 54 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
55 | 55 | ||
56 | [Modules] | 56 | [Modules] |
57 | ;; Choose one cache module and the corresponding config file, if it exists. | 57 | ;; Choose one cache module and the corresponding config file, if it exists. |
@@ -111,7 +111,7 @@ | |||
111 | 111 | ||
112 | ; === HG ONLY === | 112 | ; === HG ONLY === |
113 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | 113 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
114 | ; GatekeeperURI="http://127.0.0.1:9000" | 114 | ; GatekeeperURI="${Const|BaseURL}:${Const|PublicPort}" |
115 | 115 | ||
116 | [LibraryModule] | 116 | [LibraryModule] |
117 | ; Set this if you want to change the name of the OpenSim Library | 117 | ; Set this if you want to change the name of the OpenSim Library |
@@ -120,20 +120,20 @@ | |||
120 | [LoginService] | 120 | [LoginService] |
121 | WelcomeMessage = "Welcome, Avatar!" | 121 | WelcomeMessage = "Welcome, Avatar!" |
122 | ;; If you have Gatekeeper set under [Hypergrid], no need to set it here, leave it commented | 122 | ;; If you have Gatekeeper set under [Hypergrid], no need to set it here, leave it commented |
123 | ; GatekeeperURI = "http://127.0.0.1:9000" | 123 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
124 | 124 | ||
125 | SRV_HomeURI = "http://127.0.0.1:9000" | 125 | SRV_HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
126 | SRV_InventoryServerURI = "http://127.0.0.1:9000" | 126 | SRV_InventoryServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
127 | SRV_AssetServerURI = "http://127.0.0.1:9000" | 127 | SRV_AssetServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
128 | SRV_ProfileServerURI = "http://127.0.0.1:9000" | 128 | SRV_ProfileServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
129 | SRV_FriendsServerURI = "http://127.0.0.1:9000" | 129 | SRV_FriendsServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
130 | SRV_IMServerURI = "http://127.0.0.1:9000" | 130 | SRV_IMServerURI = "${Const|BaseURL}:${Const|PublicPort}" |
131 | 131 | ||
132 | ;; For Viewer 2 | 132 | ;; For Viewer 2 |
133 | MapTileURL = "http://127.0.0.1:9000/" | 133 | MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/" |
134 | 134 | ||
135 | ; Url to search service | 135 | ; Url to search service |
136 | ; SearchURL = "http://127.0.0.1:8002"; | 136 | ; SearchURL = "${Const|BaseURL}:8002"; |
137 | 137 | ||
138 | ; The minimum user level required for a user to be able to login. 0 by default | 138 | ; The minimum user level required for a user to be able to login. 0 by default |
139 | ; If you disable a particular user's account then you can set their login level below this number. | 139 | ; If you disable a particular user's account then you can set their login level below this number. |
@@ -227,7 +227,7 @@ | |||
227 | ; See http://opensimulator.org/wiki/GridInfo | 227 | ; See http://opensimulator.org/wiki/GridInfo |
228 | 228 | ||
229 | ; login uri: for grid this is the login server URI | 229 | ; login uri: for grid this is the login server URI |
230 | login = http://127.0.0.1:9000/ | 230 | login = ${Const|BaseURL}:${Const|PublicPort}/ |
231 | 231 | ||
232 | ; long grid name: the long name of your grid | 232 | ; long grid name: the long name of your grid |
233 | gridname = "the lost continent of hippo" | 233 | gridname = "the lost continent of hippo" |
@@ -238,37 +238,37 @@ | |||
238 | ; login page: optional: if it exists it will be used to tell the client to use | 238 | ; login page: optional: if it exists it will be used to tell the client to use |
239 | ; this as splash page | 239 | ; this as splash page |
240 | ; currently unused | 240 | ; currently unused |
241 | ;welcome = http://127.0.0.1/welcome | 241 | ;welcome = ${Const|BaseURL}/welcome |
242 | 242 | ||
243 | ; helper uri: optional: if it exists if will be used to tell the client to use | 243 | ; helper uri: optional: if it exists if will be used to tell the client to use |
244 | ; this for all economy related things | 244 | ; this for all economy related things |
245 | ; currently unused | 245 | ; currently unused |
246 | ;economy = http://127.0.0.1:9000/ | 246 | ;economy = ${Const|BaseURL}:${Const|PublicPort}/ |
247 | 247 | ||
248 | ; web page of grid: optional: page providing further information about your grid | 248 | ; web page of grid: optional: page providing further information about your grid |
249 | ; currently unused | 249 | ; currently unused |
250 | ;about = http://127.0.0.1/about/ | 250 | ;about = ${Const|BaseURL}/about/ |
251 | 251 | ||
252 | ; account creation: optional: page providing further information about obtaining | 252 | ; account creation: optional: page providing further information about obtaining |
253 | ; a user account on your grid | 253 | ; a user account on your grid |
254 | ; currently unused | 254 | ; currently unused |
255 | ;register = http://127.0.0.1/register | 255 | ;register = ${Const|BaseURL}/register |
256 | 256 | ||
257 | ; help: optional: page providing further assistance for users of your grid | 257 | ; help: optional: page providing further assistance for users of your grid |
258 | ; currently unused | 258 | ; currently unused |
259 | ;help = http://127.0.0.1/help | 259 | ;help = ${Const|BaseURL}/help |
260 | 260 | ||
261 | ; password help: optional: page providing password assistance for users of your grid | 261 | ; password help: optional: page providing password assistance for users of your grid |
262 | ; currently unused | 262 | ; currently unused |
263 | ;password = http://127.0.0.1/password | 263 | ;password = ${Const|BaseURL}/password |
264 | 264 | ||
265 | ; HG address of the gatekeeper, if you have one | 265 | ; HG address of the gatekeeper, if you have one |
266 | ; this is the entry point for all the regions of the world | 266 | ; this is the entry point for all the regions of the world |
267 | ; gatekeeper = http://127.0.0.1:9000/ | 267 | ; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/ |
268 | 268 | ||
269 | ; HG user domain, if you have one | 269 | ; HG user domain, if you have one |
270 | ; this is the entry point for all user-related HG services | 270 | ; this is the entry point for all user-related HG services |
271 | ; uas = http://127.0.0.1:9000/ | 271 | ; uas = ${Const|BaseURL}:${Const|PublicPort}/ |
272 | 272 | ||
273 | [MapImageService] | 273 | [MapImageService] |
274 | ; Set this if you want to change the default | 274 | ; Set this if you want to change the default |
@@ -289,7 +289,7 @@ | |||
289 | ;; | 289 | ;; |
290 | [GatekeeperService] | 290 | [GatekeeperService] |
291 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented | 291 | ;; If you have GatekeeperURI set under [Hypergrid], no need to set it here, leave it commented |
292 | ; ExternalName = "http://127.0.0.1:9000" | 292 | ; ExternalName = "${Const|BaseURL}:${Const|PublicPort}" |
293 | 293 | ||
294 | ; Does this grid allow incoming links to any region in it? | 294 | ; Does this grid allow incoming links to any region in it? |
295 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section | 295 | ; If false, HG TPs happen only to the Default regions specified in [GridService] section |
@@ -353,11 +353,11 @@ | |||
353 | 353 | ||
354 | [HGInventoryService] | 354 | [HGInventoryService] |
355 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | 355 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
356 | ; HomeURI = "http://127.0.0.1:9000" | 356 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
357 | 357 | ||
358 | [HGAssetService] | 358 | [HGAssetService] |
359 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | 359 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
360 | ; HomeURI = "http://127.0.0.1:9000" | 360 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
361 | 361 | ||
362 | ;; The asset types that this grid can export to / import from other grids. | 362 | ;; The asset types that this grid can export to / import from other grids. |
363 | ;; Comma separated. | 363 | ;; Comma separated. |
@@ -374,8 +374,8 @@ | |||
374 | 374 | ||
375 | [HGInventoryAccessModule] | 375 | [HGInventoryAccessModule] |
376 | ;; If you have these set under [Hypergrid], no need to set it here, leave it commented | 376 | ;; If you have these set under [Hypergrid], no need to set it here, leave it commented |
377 | ; HomeURI = "http://127.0.0.1:9000" | 377 | ; HomeURI = "${Const|BaseURL}:${Const|PublicPort}" |
378 | ; GatekeeperURI = "http://127.0.0.1:9000" | 378 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
379 | 379 | ||
380 | ;; If you want to protect your assets from being copied by foreign visitors | 380 | ;; If you want to protect your assets from being copied by foreign visitors |
381 | ;; uncomment the next line. You may want to do this on sims that have licensed content. | 381 | ;; uncomment the next line. You may want to do this on sims that have licensed content. |
@@ -393,7 +393,7 @@ | |||
393 | [Messaging] | 393 | [Messaging] |
394 | ; === HG ONLY === | 394 | ; === HG ONLY === |
395 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented | 395 | ;; If you have this set under [Hypergrid], no need to set it here, leave it commented |
396 | ; GatekeeperURI = "http://127.0.0.1:9000" | 396 | ; GatekeeperURI = "${Const|BaseURL}:${Const|PublicPort}" |
397 | 397 | ||
398 | 398 | ||
399 | [EntityTransfer] | 399 | [EntityTransfer] |