Re: connect to zOGI without apache

[email protected] Sat, 2 May 2009 10:50:42 +0100
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
I found out the cause of the problem using the SSH tunnel.  It appears to 
be to do with the 'Expect: 100-Continue' header. 

I could see that 100 was the code being returned via Apache, but nothing 
else would come through curl.  I often got "empty reply from server".

Finally after reading up on this header in "HTTP: the definitive guide", I 
saw that proxies might cause problems when this header is involved, and 
the tunnel is acting as a kind of proxy.  By adding the above header to 
the curl request, everything works through the tunnel.

I'd still be interested to know if it's possible to communicate directly 
with zOGI.  It would mean that I could remove Apache from my 
configuration, so that's one less thing to deal with.

regards,

Bernard

[email protected] wrote on 01/05/2009 11:44:09:
> 
> Hi,
> 
> I'm having some trouble connecting to zOGI using curl.  I've established 

> that the problem lies with the curl connection passing through a SSH 
> tunnel.  This makes me think that it is something to do with how my 
Apache 
> config may be re-writing URLs.  Or maybe it is a Defaults issue. 
> 
> If I make the curl request on the server it works.  If I make the curl 
> request without going through the SSH tunnel it works.
> 
> Rather than tackle the Apache problem right now, I'm wondering if it is 
> possible to connect to zOGI to make xml-rpc requests without going 
through 
> Apache.
> 
> If anyone is more thorough and scientific than me, I'm open to 
> investigating the Apache or Defaults issue.  However, it may just be 
> simpler for me to remove Apache from the equation.
> 
> Regards,
> 
> Bernard 
> -- 
> OpenGroupware.org XML-RPC
> [email protected]
> http://mail.opengroupware.org/mailman/listinfo/xmlrpc

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc