Re: XML-RPC and putPage

Thomas Waldmann <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
> I'm trying to use putPage call on moin-1.1. I receive fault "{'faultCode':
> 1, 'args': [], 'faultString': 'You are not allowed to edit this page'}".
> That's because I'm not a trusted user. How to log in using XML-RPC?

You can use http basic auth of apache. Make an account with htpasswd 
with the same name as you normally use.

Put those account data into the script.

See one of the other sample scripts, that uses that, too.

For 1.2, you need to set auth_http_enabled = 1.

The other way is to modify MoinMoin/wikirpc not to need auth - but that 
is dangerous. You want to look in there anyway to get it use the correct 
page name. By default it writes only to a TestPage.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.