[Zope] Getting to Doc Root

Dieter Maurer dieter@handshake.de
Thu, 21 Dec 2000 23:42:12 +0100 (CET)


Ben Ocean writes:
 > So I put together my site with Zope. I can't very well advertise to people
 > to go to
 > http://MySite.com:8080/
 > So how do I get Zope to configure to
 > http://MySite.com/
You have two options:

 1. you start Zope as root.
    This allows it to bind to privileged ports (ports with
    numbers < 1024) 

    There is a parameter to "start" ("z2.py"), that
    lets you specify the HTTP port (I think, -w).
    Thus, try: start -w 80

    After binding, Zope will switch personality to
    the user specified during installation.
    Thus, the web requests are not executed as root.

 2. You run Zope behind another Web Server, such
    as e.g. Apache. There are HowTo's at zope.org,
    that detail what you must do.


Dieter