The Toolkit for Online Communities
18724 Community Members, 0 members online, 1819 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Help needed with lars-blogger : One Message

Forum OpenACS Development: Re: Help needed with lars-blogger

Posted by Tilmann Singer on
Vinod, try to set up a RPC2.vuh directly instead of RPC2/index.vuh. AFAIK it should serve a request to RPC2 without redirect to RPC2/. It should also be able to serve requests to RPC2/bla/foo, if that is needed.
Posted by Vinod Kurup on

But then, if I wanted my XML-RPC server to be at http://example.com/RPC2, I'd need to put the RPC2.vuh in /web/example/www/, right? That would probably be un-kosher for my package to be adding files to the www directory, I think.

I initially hoped to use the index.vuh functionality to give the user more flexibility about what URL their XMLRPC server would listen on. Mount it at RPC2 and it would listen on http://example.com/RPC2. Mount it at rpc and it would listen on http://example.com/rpc. Cool, I thought - less work for me :-) But, it's kinda irrelevant since it's easy enough to set up a registered proc and then set up a simple admin interface to change the URL if you want.

I also just noticed that there is a protocol called RSD (http://archipelago.phrasewise.com/rsd) which means Really Simple Discovery and allows clients to find out all this info automatically.

Posted by Tilmann Singer on
Vinod, you're right. If you put that in a mountable package it would need to be at least at http://example.com/mountpoint/RPC2 to avoid the redirect.