Re: [Zope] Some Q about Zope under Linux
2. Can I change my url of Zope from http://localhost:8080/portal to http://localhost/portal ?
JCC> You can set this by command-line parameters to z2.py, which is best done JCC> by editing your start script. Note that using a priviledged port (80) JCC> requires some security wrangling. Read docs/SETUID.txt for more info.
I've tried to edit start script like in Zope - Web Application by adding some parameter -w 80, but when I start ZOPE, there is error occur, but when I remove -w 80, my ZOPE can start. Can you give me the script that makes ZOPE run at port 80?
Hint 1: saying that there was some error message is not nearly as useful as giving the message itself. Hint 2: read docs/SETUID.txt as suggested. You have to start Zope as root to use port 80, but Zope doesn't want to always run as root for security reasons. Jump through the hoops there (such as adding a -u user switch, plus directory permissions) and it will probably work. --jcc
Dear J, Wednesday, April 9, 2003, 6:29:30 AM, you wrote: JCC> Hint 2: read docs/SETUID.txt as suggested. You have to start Zope as JCC> root to use port 80, but Zope doesn't want to always run as root for JCC> security reasons. Jump through the hoops there (such as adding a -u user JCC> switch, plus directory permissions) and it will probably work. I can't find file SETUID.txt like you suggested in my zope's folder. FYI I'm using Zope 2.4.0. Is that file exist in another version of Zope? Can I download it? If can , where can I download it? TIA -- God Bless You, Robby mailto:robbyg@i4te.com
I can't find file SETUID.txt like you suggested in my zope's folder. FYI I'm using Zope 2.4.0. Is that file exist in another version of Zope? Can I download it? If can , where can I download it?
I don't think it existed back then. In 2.4 you may just be able to set the command-line switch. If it doesn't work, please report the error message to us. That's a really really old Zope. Unless you have a very good reason, update to the newest version, for security reasons if nothing else. --jcc
participants (2)
-
J Cameron Cooper -
Robby Gunawan