Disabling Services
Hi, When Zope starts up, I see it starts the following: ZServer Medusa (V1.16.4.3) ZServer FTP server ZServer PCGI Server ZServer Monitor Server (V1.8.4.1) Which of those handles WebDAV requests? How do I turn any of the above 'off' permentantly, without hacking z2.py or anything similar (which is nasty ;-) Why? Well, the FTP Server is buggy enough that it needs to be disabled on Production sites. There's no need to run PCGI if you're using Apache ProxyPass, and likewise, no need for medusa if you're PCGI'ing, correct? And as for the monitor, well, I've never used it, and I know it's very powerful, so I'd prefer it if it wasn't around on Production sites... cheers, Chris
Chris Withers wrote:
When Zope starts up, I see it starts the following:
ZServer Medusa (V1.16.4.3) ZServer FTP server ZServer PCGI Server ZServer Monitor Server (V1.8.4.1)
Which of those handles WebDAV requests? How do I turn any of the above 'off' permentantly, without hacking z2.py or anything similar (which is nasty ;-)
Not sure about WebDAV (I guess try the following & see!), but in my startup script I have: exec /usr/local/Zope-2.2.4-linux2-x86/bin/python \ $PYTHONHOME/z2.py \ -X -w 8000 "$@" -X : turn off all servers -w : explicitly turn on http server on port 8000 I took out -D as it is a production server & after reading the last few digests I'm going to add -Z, though Zope hasn't crashed once on me yet! HTH Ivan
Ivan Cornell wrote:
Chris Withers wrote:
When Zope starts up, I see it starts the following:
ZServer Medusa (V1.16.4.3) ZServer FTP server ZServer PCGI Server ZServer Monitor Server (V1.8.4.1)
Which of those handles WebDAV requests? How do I turn any of the above 'off' permentantly, without hacking z2.py or anything similar (which is nasty ;-)
Not sure about WebDAV (I guess try the following & see!), but in my startup script I have: exec /usr/local/Zope-2.2.4-linux2-x86/bin/python \ $PYTHONHOME/z2.py \ -X -w 8000 "$@"
-X : turn off all servers -w : explicitly turn on http server on port 8000 I took out -D as it is a production server & after reading the last few digests I'm going to add -Z, though Zope hasn't crashed once on me yet!
Note, that it the past, doing this also disabled pcgi. I dunno if that has been resolved, but it was a REAL nightmare here .... Of course, you aren't using pcgi, so for you, that's not a problem. :) I just thought I'd injectthat little comment for future readers who may be wondering wtf if they try this and still need pcgi. Bill
On Wed, 6 Dec 2000, Chris Withers wrote:
How do I turn any of the above 'off' permentantly, without hacking z2.py or anything similar (which is nasty ;-)
z2.py has a lot of options. Run z2.py --help. (I mean passing options to z2.py IS NOT nasty :) Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Oleg Broytmann wrote:
On Wed, 6 Dec 2000, Chris Withers wrote:
How do I turn any of the above 'off' permentantly, without hacking z2.py or anything similar (which is nasty ;-)
z2.py has a lot of options. Run z2.py --help. (I mean passing options to z2.py IS NOT nasty :)
Sorry, RTFM on my part :-) Actually, RTFS or RTCLH, but such is the zope way... cheers, Chris
Oleg Broytmann wrote:
On Wed, 6 Dec 2000, Chris Withers wrote:
How do I turn any of the above 'off' permentantly, without hacking z2.py or anything similar (which is nasty ;-)
z2.py has a lot of options. Run z2.py --help. (I mean passing options to z2.py IS NOT nasty :)
Actually z2.py -h, even though --help will print out the help screen, just with the following error: Error: getopt.error: option --help not recognized pedantically yours, Chris ;-)
participants (4)
-
Bill Anderson -
Chris Withers -
Ivan Cornell -
Oleg Broytmann