zope, virtual hosts
Hi, I've been reading: http://www.zope.org/Members/regebro/Zope_and_Apache trying to setup Zope with Apache. I'm using the approach described by the heading: Virtual hosting with several sites per Zope server I've updated httpd.conf and restarted Apache. I've downloaded Zope 2.5.1, unpacked it into /usr/local/ and ran: cd /usr/local/Zope sudo ./install -u apache -g apache When I try to access the virtual host from the browser, I get Connection refused: proxy cannot connect to 127.0.0.1 port 8080 failed. Is this because I need to run the start script for Zope? If I need to run the start script to start Zope, I'm surprised that I haven't seen more reference to adding that to /etc/init.d/ and such. Thanks, // mark -
yeh, zope needs to be up and running if you want to hit it through a proxy such as a apache. the way i do my zope server is i run it on one port and then proxy it out via apache via mod_rewrite and mod_proxy. works like a charm. if you are on linux (i'm not), then you'll probably want to start it up via a start script in /etc/rc.d/init.d or rc.local. i use bsd* and don't remember the details. you can also start your zope manually from the command line if you just want to make sure your proxying is working prior to adding it to the startup files. -mj On Sun, 11 Aug 2002, Mark McEahern wrote:
Hi, I've been reading:
http://www.zope.org/Members/regebro/Zope_and_Apache
trying to setup Zope with Apache. I'm using the approach described by the heading:
Virtual hosting with several sites per Zope server
I've updated httpd.conf and restarted Apache. I've downloaded Zope 2.5.1, unpacked it into /usr/local/ and ran:
cd /usr/local/Zope sudo ./install -u apache -g apache
When I try to access the virtual host from the browser, I get Connection refused: proxy cannot connect to 127.0.0.1 port 8080 failed.
Is this because I need to run the start script for Zope? If I need to run the start script to start Zope, I'm surprised that I haven't seen more reference to adding that to /etc/init.d/ and such.
Thanks,
// mark
-
_______________________________________________ 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 )
yeh, zope needs to be up and running if you want to hit it through a proxy such as a apache. the way i do my zope server is i run it on one port and then proxy it out via apache via mod_rewrite and mod_proxy. works like a charm.
Thanks. I now have it working: sudo -u apache ./start -a 127.0.0.1 The -a is necessary for me because I probably don't have my network setup correctly.
if you are on linux (i'm not), then you'll probably want to start it up via a start script in /etc/rc.d/init.d or rc.local. i use bsd* and don't remember the details. you can also start your zope manually from the command line if you just want to make sure your proxying is working prior to adding it to the startup files.
Yes, I'll be looking to see if someone else has contributed an /etc/init.d/ script. Is it just me, or is there a billion slightly different documentations for getting Zope running under Apache? Cheers, // mark -
Yes, I'll be looking to see if someone else has contributed an /etc/init.d/ script. Is it just me, or is there a billion slightly different documentations for getting Zope running under Apache?
A billion and one: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHos ting.stx ;-) - C
participants (4)
-
Chris McDonough -
Mark McEahern -
Mark McEahern -
Michael Johnson