I have been using Zend_Rest_Client to interact with a Zend_Rest_Server on another domain.
I recently moved the rest server to the same physical machine as the rest client. They now share the same IP address and are setup as apache virtual hosts. Ever since the move, the rest client returns a 404 error. I examined the uri, headers and body being sent via the socket adapter (Zend_Http_Client_Adapter_Socket) and everything looks great. But the response from my server is a 404. I can successfully take the uri from the socket request and load it in a browser and see XML results. I checked my server logs and it appears the client request is being picked up by the default virtual host for my primary IP address. The socket adapter is requesting an accurate hostname and path but apache is interpreting it as a request for the primary IP address. I am unfamiliar with sockets and do not understand why this would happen. I am behind a firewall and both sites do share the same IP address in apache. Could these be my problem? Michael DePetrillo [EMAIL PROTECTED] Mobile: (858) 761-1605 Fax: (858) 430-2706
