Re: [Zope] Disabling Services : WebDAV

2000-12-08 Thread ethan mindlace fremen

Chris Withers wrote:


 Great :-(
 
 Any other way to turn WebDAV off? Not sure about Zopes supprot and not
 sure if I like the protocol on production servers anyway ;-)

As I'm sure someone has explained, WebDAV is just HTTP on crack.  HTTP 
requests go like so:

GET / HTTP/1.0

Webdav requests are *exactly the same* except sometimes it has something 
in lieu of 'GET'.

~ethan


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services : WebDAV

2000-12-07 Thread Chris Withers

Dieter Maurer wrote:
 
 Chris Withers writes:
   ZServer Medusa (V1.16.4.3)
   ...
  
   Which of those handles WebDAV requests?
 WebDAV runs on top of HTTP.
 You must disable ZServer Medusa.
 Maybe, you accept WebDAV?

Great :-(

Any other way to turn WebDAV off? Not sure about Zopes supprot and not
sure if I like the protocol on production servers anyway ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services : WebDAV

2000-12-07 Thread Tres Seaver

 Chris Withers [EMAIL PROTECTED] wrote:
 
 Dieter Maurer wrote:
  
  Chris Withers writes:
ZServer Medusa (V1.16.4.3)
...
   
Which of those handles WebDAV requests?
  WebDAV runs on top of HTTP.
  You must disable ZServer Medusa.
  Maybe, you accept WebDAV?
 
 Great :-(
 
 Any other way to turn WebDAV off? Not sure about Zopes supprot and not
 sure if I like the protocol on production servers anyway ;-)

For standard GET and PUT requests, WebDAV is indistiguishable from
"normal" HTTP.

Tres.
-- 
===
Tres Seaver[EMAIL PROTECTED]
Digital Creations "Zope Dealers"   http://www.zope.org

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services

2000-12-06 Thread Ivan Cornell

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


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services

2000-12-06 Thread Oleg Broytmann

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/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services : RTFM

2000-12-06 Thread Chris Withers

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

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services

2000-12-06 Thread Dieter Maurer

Chris Withers writes:
  ZServer Medusa (V1.16.4.3)
  ...
  
  Which of those handles WebDAV requests?
WebDAV runs on top of HTTP.
You must disable ZServer Medusa.
Maybe, you accept WebDAV?


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Disabling Services

2000-12-06 Thread Bill Anderson

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


___
Zope maillist  -  [EMAIL PROTECTED]
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 )