Hello, The question is how do I disable webdav in Zope 2.7.0 In Zope 2.6 series there was z2.py which no longer exists and I keep getting error that -W option is unrecognized. I want nothing to do with webdav and I want to disable it completly, it's bugging me :) As I already write here I haven't found a document which would describe how to use custom_zodb.py file correctly. I want to increase some connection number so, I created a custom_zodb.py I found @ zope book. after that I can't see Database information from ZMI/Control_Panel. Vahur
In the $INSTANCE/etc directory you should find a file called 'zope.conf' and in here, about three quarters of the way through you should find a series of statements beginning: <http-server> port number </http-server> <ftp-server> port number <ftp-server> and then a series of statements commented out by default controlling DAV, persistent cgi and so on. Uncomment these and set the settings you want and restart. Jock On 26 Mar 2004, at 09:20, Vahur Rebas wrote:
Hello,
The question is how do I disable webdav in Zope 2.7.0 In Zope 2.6 series there was z2.py which no longer exists and I keep getting error that -W option is unrecognized. I want nothing to do with webdav and I want to disable it completly, it's bugging me :)
As I already write here I haven't found a document which would describe how to use custom_zodb.py file correctly. I want to increase some connection number so, I created a custom_zodb.py I found @ zope book. after that I can't see Database information from ZMI/Control_Panel.
Vahur
_______________________________________________ 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 )
-- Jock Coats, in a personal capacity. Wardens Lodgings, J1e, Morrell Hall, OXFORD OX3 0TU T: +44 1865 485019 M: +44 7769 695767 F: +44 845 1275714
Jock Coats wrote:
Uncomment these and set the settings you want and restart.
...indeed. Although be aware that Zope answers WebDAV requests on it's normal HTTP port as well, so you acn't ever completely disable WebDAV... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote:
Jock Coats wrote:
Uncomment these and set the settings you want and restart.
...indeed. Although be aware that Zope answers WebDAV requests on it's normal HTTP port as well, so you acn't ever completely disable WebDAV...
Yep, that's the way it is. And not having a chance to turn it off completly is not good. So, solutions would be to override these webdav methods that trouble or make use of webdav :) Vahur
On 26 Mar 2004, at 11:48, Vahur Rebas wrote:
Chris Withers wrote:
Jock Coats wrote:
Uncomment these and set the settings you want and restart.
...indeed. Although be aware that Zope answers WebDAV requests on it's normal HTTP port as well, so you acn't ever completely disable WebDAV...
Yep, that's the way it is. And not having a chance to turn it off completly is not good. So, solutions would be to override these webdav methods that trouble or make use of webdav :)
Maybe it's just the contents of my Plone site that can't be seen, but if I use Windows (webfolders) to map to the ordinary web port on my server it connects okay, but I can see absolutely nothing in there. I can only see contents when I use the dav-source port. Since DAV is merely an extension of HTTP really how could you switch it off without affecting the HTTP traffic? Long time since I tinkered with Mod_DAV and Apache - but I seem to recall you have to have an access rule for each directory you want to serve via DAV. Jock -- Jock Coats, in a personal capacity. Wardens Lodgings, J1e, Morrell Hall, OXFORD OX3 0TU T: +44 1865 485019 M: +44 7769 695767 F: +44 845 1275714
participants (3)
-
Chris Withers -
Jock Coats -
Vahur Rebas