[Opensim-users] Loading regions configuration from a webserver...

Justin Clark-Casey jjustincc at googlemail.com
Sun Jun 1 12:49:09 UTC 2008


Olish Newman wrote:
> Hello !
> 
> I'm not sure, but is it possible to load a region config file 
> (/Regions/default.xml) from a webserver. Does one of the command line 
> option for the opensim.exe is used for this ?
> -config or -configfile or another ?

Curiously, there is a mechanism for this but I've never seen it used. 
The code is contained in the OpenSim.Framework.RegionLoader.Web 
namespace.  To make OpenSim use this rather than the usual file loader 
it looks like one would need to set something like

region_info_source = "web"
region_webserver_url = "http://site/your-region-file.xml";

in OpenSim.ini (neither of these switches appear in OpenSim.ini.example)

The xml file itself would contain all the usual region xml, but that 
would be wrapped up in a <Regions> tag (rather than the <Root> tag, I 
suspect).  However, I'm purely guessing from just reading the code.

I'm not sure how much this is supported or whether it even works 
currently.  I'm interested Olish, could you explain further how this 
would make things easier to manage?

Also, is anybody currently using this facility?  Would this be a 
generally useful facility for other people too?

> 
> As an example, a region config file is hosted on a local webserver at 
> http://localhost/myfile.xml and this file could be :
> 
> <Root>
>   <Config sim_UUID="b19966b7-6264-4e1f-ade8-b4ebca894ee4" sim_name="My 
> Island" sim_location_x="1000" sim_location_y="1000" 
> internal_ip_address="0.0.0.0" internal_ip_port="9000" 
> allow_alternate_ports="false" external_host_name="127.0.0.1" 
> master_avatar_uuid="00000000-0000-0000-0000-000000000000" 
> estate_covanant_uuid="4a439117-d3f1-417f-9d8c-7c466c298f7e" 
> master_avatar_first="Test" master_avatar_last="User" 
> master_avatar_pass="Password" />
> </Root>
> 
> This way it would be easier to manage.
> Any help is much appreciated. Thanks in advance. :)
> 
> Kind regards,
> Olish.
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 


-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com



More information about the Opensim-users mailing list