Zope Port Question - Running on Port 80
I'm trying to move my Zope instance from port 9673 to port 80 and have some fairly basic questions regarding the port configuration. In my z2.py file the parameter HTTP_PORT is set to 8080. This is the only z2.py file on the machine. In /etc/zopectl/zopectlrc 9673 referenced as the HTTP port. If I change 9673 to 80 and restart Zope I don't get an error, but I can't resolve. If I try to access port 80 while Zope is running on 9673 I don't get a page resolved. Apache is running (on port 80 according to httpd.conf). If I change Apache to run on another port (say 8080) then Zope stops working. It would seem as Zope is using Apache as a proxy, but why not on port 80. Is there a simple way to reconfigure this instance to use port 80 either via Apache or the Zope HTTP server? At present I want to access the site via IP instead of domain name. Many thanks in advance, Marc Stein
On Mon, 2003-12-01 at 13:33, Marc Stein wrote:
Is there a simple way to reconfigure this instance to use port 80 either via Apache or the Zope HTTP server? At present I want to access the site via IP instead of domain name.
Leave Apache on 80 and add a RewriteRule that causes Apache to act as a reverse proxy for what's on port 9673 or wherever Zope is running. Details: http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx HTH, Dylan
participants (2)
-
Dylan Reinhardt -
Marc Stein