Re: [Zope] Trying zope on Linux

2005-12-15 Thread Andreas Jung



--On 15. Dezember 2005 05:20:33 -0800 Allen Huang [EMAIL PROTECTED] wrote:


I'm trying zope on linux but I have come a cross a problem.

  I windows, I simply changed the port number from 8080 to 80 in
zope.conf  so I could get to my site without typeing the port.
  But in Linux, I did the same thing but it always tells me that some
other server already occupied this port. (and I just started too, so
there shouldn't be any server. right??)
  I'm now trying to figure out what server to close but with no luck at
all..
  can someone help me so I can display my site on port 80?



The recommended way is to run Zope on some unpriveledged port and use 
Virtual hosting with Apache or Squid. CHeck the Virtual Hosting chapter of 
the Zope Book for details.


-aj



pgpBKX4UPFZtr.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Trying zope on Linux

2005-12-15 Thread Tino Wildenhain

Allen Huang schrieb:


I'm trying zope on linux but I have come a cross a problem.
 
I windows, I simply changed the port number from 8080 to 80 
in zope.conf  so I could get to my site without typeing the port.
 
But in Linux, I did the same thing but it always tells me that some 
other server already occupied this port. (and I just started too, so 
there shouldn't be any server. right??)
 
I'm now trying to figure out what server to close but with no luck at all..
 
can someone help me so I can display my site on port 80?




You can basically do the same in Linux. You need to start
zope as root (it switches to nobody or your configured user
from zope.conf) to be able to bind port 80 - and you
have to make sure no other program currently binds there
(as apache or the like)

netstat -lntp  should tell you.

Recommended, however (even more for productive sites)
is at least a simple apache running in front of zope
and zope using unprivilegued port (1024) and
possibly non privilegued user even on start.

HTH
Tino
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Trying zope on Linux

2005-12-15 Thread Robert Boyd
On 12/15/05, Allen Huang [EMAIL PROTECTED] wrote:


 I'm trying zope on linux but I have come a cross a problem.

 I windows, I simply changed the port number from 8080 to 80 in zope.conf  so
 I could get to my site without typeing the port.

 But in Linux, I did the same thing but it always tells me that some other
 server already occupied this port. (and I just started too, so there
 shouldn't be any server. right??)


You may be using a distro that starts Apache on boot. Check your init
scripts. If you want Zope running on 80, you'll need to either disable
the init script starting that other server, or configure that other
server to run on a different port if you really want that service.

That said, I agree with others about the standard way of running Zope
(unprivileged user, high port, behind Apache or other).

RB
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )