Pavlos, thanks for your reply, I can run other scripts from that directory fine, so I know apache is okay to serve from there.. When zope starts it says it sucessfully binds to my /tmp/zope.soc file, but everytime I access it from Apache's port, I get: "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" and apache logs the connection refused message.. Once I get this working how do I stop Zope from being accessable on any port other than my apache port? thanks and regards, Andrew. ----- Original Message ----- From: Pavlos Christoforou <pavlos@gaaros.msrc.sunysb.edu> To: Andrew Hall <aah@impaq.net.au> Cc: <zope@zope.org> Sent: Monday, December 20, 1999 11:56 AM Subject: Re: [Zope] FastCGI and apache setup problems
On Mon, 20 Dec 1999, Andrew Hall wrote:
"/usr/local/apache/htdocs/zope": connect() failed
I have tried everything, changing permissions, running fastcgi support as a socket under /tmp/zope.soc and as an external TCP port, but all to no avail. Zope seems to be running fine and if I goto port 8080 Zope pops up (although I didn't really expect this - is this meant to happen? Should zope under Zserver and apache at the same time? I only want Zope operating from within Apache.. maybe I'm doing something wrong?)
I don't think you are doing anything wrong. Fastcgi needs to communicate with the application and it uses either TCP or a named pipe. If you use TCP then Zope will be available also directly from its port. A mistake I made the first time I used fastcgi was to assign the same port both for Zope and fastcgi.
Also is apache really configured in your case to serve files from /usr/local/apache/htdocs/zope ?
the zope file should not exist put apache should be configured to serve files from /usr/local/apache/htdocs. If not just substtite the path with your Documentroot configured path.
Pavlos
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )