[Moin-devel] XML-RPC and putPage
Thomas Waldmann
tw-public at gmx.de
Wed Feb 25 09:26:07 EST 2004
> 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.
More information about the Moin-devel
mailing list