aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share
diff options
context:
space:
mode:
authormingchen2007-11-03 15:09:21 +0000
committermingchen2007-11-03 15:09:21 +0000
commit51488ee7f415950583ba389582692900a2c32831 (patch)
tree7b63fdbb54e9a1bbb3ae7a6ed8d6eac8933e8dbb /share
parenttesting different rest post method/class for Grid asset client. (possible tha... (diff)
downloadopensim-SC-51488ee7f415950583ba389582692900a2c32831.zip
opensim-SC-51488ee7f415950583ba389582692900a2c32831.tar.gz
opensim-SC-51488ee7f415950583ba389582692900a2c32831.tar.bz2
opensim-SC-51488ee7f415950583ba389582692900a2c32831.tar.xz
*Moved region loading into its own interface IRegionLoader
*Added ability to load regioninfo remotely from a webserver from a single file. See share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt for more info and an example file.
Diffstat (limited to 'share')
-rw-r--r--share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt9
-rw-r--r--share/RegionLoading/example_web.xml8
2 files changed, 17 insertions, 0 deletions
diff --git a/share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt b/share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt
new file mode 100644
index 0000000..f3afd43
--- /dev/null
+++ b/share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt
@@ -0,0 +1,9 @@
1The remote region loading ability allows easier management of what regions a simulator run s from a webserver.
2In OpenSim.ini, change the 'region_info_source = filesystem' under [Startup] to 'region_info_source = web'.
3Then change the line 'regionload_webserver_url = ' to 'regionload_webserver_url = http://127.0.0.1/default.xml'
4replacing 'http://127.0.0.1/default.xml' with the URL of the region XML file.
5
6The XML file of a remote region is similar to the filesystem version, except it is in one file instead of multiple
7region_xxx.xml files.
8
9See example_web.xml for an example on how to make a web version for region loading. \ No newline at end of file
diff --git a/share/RegionLoading/example_web.xml b/share/RegionLoading/example_web.xml
new file mode 100644
index 0000000..837c68c
--- /dev/null
+++ b/share/RegionLoading/example_web.xml
@@ -0,0 +1,8 @@
1<Regions>
2 <Root>
3 <Config sim_UUID="18fb66dbf6274279885228f1c4064f8c" sim_name="OpenSim Test" sim_location_x="1000" sim_location_y="1000" datastore="OpenSim.db" internal_ip_address="0.0.0.0" internal_ip_port="9000" external_host_name="127.0.0.1" master_avatar_first="Test" master_avatar_last="User" master_avatar_pass="test" />
4 </Root>
5 <Root>
6 <Config sim_UUID="111111dbf6274219881228f1c1061f8c" sim_name="OpenSim Test2" sim_location_x="1001" sim_location_y="1000" datastore="OpenSim2.db" internal_ip_address="0.0.0.0" internal_ip_port="9001" external_host_name="127.0.0.1" master_avatar_first="Test" master_avatar_last="User" master_avatar_pass="test" />
7 </Root>
8</Regions> \ No newline at end of file