Page 1 of 1

Removing rid=..... in server/web link

Posted: Tue Feb 28, 2012 5:27 am
by radiogazer
Is it possible to configure the IHMC server to not need the "rid=....." in the URL?

i.e. instead of:
the.machine.org:8080/rid=12345678-ABCDEF-YZ/amap.cmap
to have:
the.machine.org:8080/my%20path/to%20thefile/atthe/amap.cmap

The reason why I ask is that I would like to operate the server more like a wiki - and when someone uploads a new cmap, with the same path, the rid is changed. We cannot therefore have an external link to the CMAP :(

Any alternative suggestions for keeping the same ID to the path?

thanks

Re: Removing rid=..... in server/web link

Posted: Tue Feb 28, 2012 9:15 am
by acanas
The CmapServer does not use the path to access resources. Each resource (Cmap, image, video, etc.) has a resource id (RID). That is why you can move Cmaps around the CmapServer and links don't break, since the path is irrelevant. If somebody uploads a Cmap that replaces an existing Cmap, and when questioned the user indicates the resource should be replaced, the RID remains the same and so the access to it remains. If you remove the Cmap and then add the new one, a new RID is generated. Just make sure you replace the existing one without deleting it first and everything should work.