diff options
author | mingchen | 2007-11-03 15:09:21 +0000 |
---|---|---|
committer | mingchen | 2007-11-03 15:09:21 +0000 |
commit | 51488ee7f415950583ba389582692900a2c32831 (patch) | |
tree | 7b63fdbb54e9a1bbb3ae7a6ed8d6eac8933e8dbb /share/RegionLoading | |
parent | testing different rest post method/class for Grid asset client. (possible tha... (diff) | |
download | opensim-SC_OLD-51488ee7f415950583ba389582692900a2c32831.zip opensim-SC_OLD-51488ee7f415950583ba389582692900a2c32831.tar.gz opensim-SC_OLD-51488ee7f415950583ba389582692900a2c32831.tar.bz2 opensim-SC_OLD-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/RegionLoading')
-rw-r--r-- | share/RegionLoading/HOWTO_REMOTE_REGION_LOADING.txt | 9 | ||||
-rw-r--r-- | share/RegionLoading/example_web.xml | 8 |
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 @@ | |||
1 | The remote region loading ability allows easier management of what regions a simulator run s from a webserver. | ||
2 | In OpenSim.ini, change the 'region_info_source = filesystem' under [Startup] to 'region_info_source = web'. | ||
3 | Then change the line 'regionload_webserver_url = ' to 'regionload_webserver_url = http://127.0.0.1/default.xml' | ||
4 | replacing 'http://127.0.0.1/default.xml' with the URL of the region XML file. | ||
5 | |||
6 | The XML file of a remote region is similar to the filesystem version, except it is in one file instead of multiple | ||
7 | region_xxx.xml files. | ||
8 | |||
9 | See 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 | ||