RE: [Zope] changing port from 9673 default
Jamie: So changing the port is only an option if you run zope as root? George Perry -----Original Message----- From: Jamie Heilman [mailto:jamie@audible.transient.net] Sent: Thursday, November 06, 2003 5:42 PM To: George Perry Cc: zope@zope.org Subject: Re: [Zope] changing port from 9673 default George Perry wrote:
Thanks for such a quick answer.
keep it on the list
I was hoping to not have to install Apache.
You can use any proxy server you know how to configure appropriately, it doesn't have to be Apache.
With the binary version of zope provided on the zope.org site, I was able to change the port number by editting z2.py. I was hoping to do something similar with the Debian version of zope, and from reading the zopectlrc man page it appeared that it should be possible to do this without running Zope's server behind Apache.
It is possible, its just a bad idea and a misfeature that shouldn't be used. http://audible.transient.net/zope/#root -- Jamie Heilman http://audible.transient.net/~jamie/
George Perry wrote:
Jamie:
So changing the port is only an option if you run zope as root?
Changing the port to a privileged one like port 80, yes. -- Jamie Heilman http://audible.transient.net/~jamie/ "...thats the metaphorical equivalent of flopping your wedding tackle into a lion's mouth and flicking his lovespuds with a wet towel, pure insanity..." -Rimmer
So changing the port is only an option if you run zope as root?
You must start Zope as root to bind to a "low" port. It will insist on being given a regular user to actually run as: read doc/SECURITY.txt. Another option is using your OS to do it:: /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 to get port masquerading from 8080 to 80 (although it won't work on localhost). This is an oft-discussed topic on the list, by the way. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (3)
-
George Perry -
J. Cameron Cooper -
Jamie Heilman