[OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost

Adam Tauno Williams xmlrpc@opengroupware.org
Mon, 13 Feb 2006 06:05:14 -0500


>   > There is a list specifically for XML-RPC related questions
>   Yes, thanks. But I didn't (and still don't) know what is WOHttpAllowHost
>   supposed to do. It doesn't seem to be a XMLRPC thing, right?

WOHttpAllowHost determines what addresses the daemon should accept
connections from.  Mine looks like -
        WOHttpAllowHost = (
            localhost,
            "127.0.0.1",
            "localhost.localdomain"
        );

>   > > What does 'WOHttpAllowHost' do?
>   > > I'm struggling to get a Ruby script to talk to ogo-xmlrpcd. The logfile
>   > > keeps telling me "WOHttpAdaptor: ACCESS DENIED:". Not sure the problem
>   > > is in the ruby script or the username/password I googled around and found 
>   > > some mention of 'WOHttpAdaptor settings'. Does this restrict connections
>   > > to xmlrpcd or to something else?

What is the URL you are connecting to the daemon with?  Does it contain
something like {hostname}:20000?  If so your setup is incorrect,  you
should just be able to specify the host name http://{hostname}/RPC2

Can you visit http://{hostname}/RPC2 with a browser?

>   > Are you accessing the XML-RPC daemon via mgobjweb?  If no, do so.
>   I don't know. What is mgobjweb? (google gives only your mail :-))
>   I'm talking to ogo-xmlrpcd, which comes with the RPM release.

It connects Apache to the OGo daemons,  here is is misspelled,  it is
"ngobjweb"

>   > I assume you are sending basic credentials in your request?
>   I've a LDAP server connected to OGo. I thought that's also working for
>   the xmlrpcd and not only for the webinterface? What do you mean by
>   basic credentials? I'm sending a username/password combi.

If LDAP is configured it works for all services.  Yes,
username/password usually constitutes BASIC credentials.