Hi, I am using Zope (with INSTANCE_HOME) with the following setup: OpenBSD 3.2 Zope 2.5.1 Python 2.1.3 Apache 1.3.26 (All built from OpenBSD ports). The websites are served through Apache on port 80 (using name virtual host). So far I have used my web browser for editing the files, and I would like to use WebDAV for editing my files now. For one instance, I have modified my Zope start script to use the following ports: <ip>:8080 -> http (rendered) <ip>:8021 -> ftp <ip>:9800 -> http (not rendered, for WebDAV) Using the WebDAV client cadaver I can connect to <ip>(:80) without problems. Trying to connect to <ip>:9800 and <ip>:8080 fails with the following error: dav:!> open 192.168.57.13:9800 Looking up hostname... Connecting to server... connected. Could not contact server: Malformed header line. Searching the web for answers, I have found the following posting: http://www.zope.org/Members/Brian/Misc/mod_cgi_webdav_patch.html The patch is very old (1999). Do you think that my problems discribed abough are cause by this problem and is it still necessary to apply this patch? Can you tell me if it will help to install mod_dav (http://www.webdav.org/mod_dav/)? Thanks! With best regards, Barbara
Barbara Langmueller wrote at 2004-1-16 16:16 +0100:
... So far I have used my web browser for editing the files, and I would like to use WebDAV for editing my files now. For one instance, I have modified my Zope start script to use the following ports: <ip>:8080 -> http (rendered) <ip>:8021 -> ftp <ip>:9800 -> http (not rendered, for WebDAV)
Using the WebDAV client cadaver I can connect to <ip>(:80) without problems.
Trying to connect to <ip>:9800 and <ip>:8080 fails with the following error:
dav:!> open 192.168.57.13:9800 Looking up hostname... Connecting to server... connected. Could not contact server: Malformed header line.
Searching the web for answers, I have found the following posting: http://www.zope.org/Members/Brian/Misc/mod_cgi_webdav_patch.html
The patch is very old (1999). Do you think that my problems discribed abough are cause by this problem and is it still necessary to apply this patch?
As I see, you are contacting your Zope server directly (and not via Apache). In this case, the "mod_cgi_webdav_patch" is not relevant for you. Andreas Jung has a tool to analyse WebDAV problems. Google for it: "Andreas Jung WebDAV monitor" -- Dieter
Hi Dieter, Thanks for your answer! At 08:43 PM 1/16/2004 +0100, Dieter Maurer wrote:
Barbara Langmueller wrote at 2004-1-16 16:16 +0100:
... So far I have used my web browser for editing the files, and I would like to use WebDAV for editing my files now. For one instance, I have modified my Zope start script to use the following ports: <ip>:8080 -> http (rendered) <ip>:8021 -> ftp <ip>:9800 -> http (not rendered, for WebDAV)
Using the WebDAV client cadaver I can connect to <ip>(:80) without problems.
Trying to connect to <ip>:9800 and <ip>:8080 fails with the following error:
dav:!> open 192.168.57.13:9800 Looking up hostname... Connecting to server... connected. Could not contact server: Malformed header line.
Searching the web for answers, I have found the following posting: http://www.zope.org/Members/Brian/Misc/mod_cgi_webdav_patch.html
The patch is very old (1999). Do you think that my problems discribed abough are cause by this problem and is it still necessary to apply this patch?
As I see, you are contacting your Zope server directly (and not via Apache). In this case, the "mod_cgi_webdav_patch" is not relevant for you.
Andreas Jung has a tool to analyse WebDAV problems. Google for it: "Andreas Jung WebDAV monitor"
I have downloaded and installed the WebDAVLogger (from http://zope.org/Members/ajung/WebDAVLogger/swpackage_view). But I don't get any logging data, the file webdav_debug.log is not created in <INSTANCE_HOME>/var/ BTW, Andreas does no longer support the WebDAV logger. Is there any other way to debug the problem? Best regards, Barbara
Barbara Langmueller wrote:
Barbara Langmueller wrote at 2004-1-16 16:16 +0100:
... So far I have used my web browser for editing the files, and I would like to use WebDAV for editing my files now. For one instance, I have modified my Zope start script to use the following ports: <ip>:8080 -> http (rendered) <ip>:8021 -> ftp <ip>:9800 -> http (not rendered, for WebDAV)
Using the WebDAV client cadaver I can connect to <ip>(:80) without problems.
Trying to connect to <ip>:9800 and <ip>:8080 fails with the following error:
dav:!> open 192.168.57.13:9800 Looking up hostname... Connecting to server... connected. Could not contact server: Malformed header line.
... I have downloaded and installed the WebDAVLogger (from http://zope.org/Members/ajung/WebDAVLogger/swpackage_view). But I don't get any logging data, the file webdav_debug.log is not created in <INSTANCE_HOME>/var/ BTW, Andreas does no longer support the WebDAV logger.
Is there any other way to debug the problem?
Can you get to Zope via normal HTTP (a browser) on port 8080? If so, it may be that the WebDAV server isn't running. Check your Zope startup logs or run it on the command console to make sure that WebDAV is started and that it's bound to the port you thing it is. The last enties in the log Zope prints on startup will tell you what and where various services are running. If not, this seems to indicate that there is something intercepting requests to these ports, and I doubt it's Apache. Are you sure there's no packet filter or firewall in between you and Zope? You can also try to telnet to that port and see exactly what's going on. --jcc
At 04:21 PM 1/19/2004 -0600, J Cameron Cooper wrote:
Barbara Langmueller wrote:
Barbara Langmueller wrote at 2004-1-16 16:16 +0100:
... So far I have used my web browser for editing the files, and I would like to use WebDAV for editing my files now. For one instance, I have modified my Zope start script to use the following ports: <ip>:8080 -> http (rendered) <ip>:8021 -> ftp <ip>:9800 -> http (not rendered, for WebDAV)
Using the WebDAV client cadaver I can connect to <ip>(:80) without problems.
Trying to connect to <ip>:9800 and <ip>:8080 fails with the following error:
dav:!> open 192.168.57.13:9800 Looking up hostname... Connecting to server... connected. Could not contact server: Malformed header line.
Is there any other way to debug the problem?
Can you get to Zope via normal HTTP (a browser) on port 8080?
If so, it may be that the WebDAV server isn't running. Check your Zope startup logs or run it on the command console to make sure that WebDAV is started and that it's bound to the port you thing it is. The last enties in the log Zope prints on startup will tell you what and where various services are running.
If not, this seems to indicate that there is something intercepting requests to these ports, and I doubt it's Apache. Are you sure there's no packet filter or firewall in between you and Zope?
There is no firewall or filter between me and Zope, both boxes are within the LAN (Zope on 192.168.57.13 and I'm on 192.168.57.162) Zope is running on port 8080, and I have never problems to open the page through a web browser on http://192.168.57.13:8080 Connecting with Adobe GoLive works (I can edit the files) but it gives the following message: http://192.168.57.13:9801 returned errors on OPTION-request. Server: Medusa/1.30 Content-Type: text/html Content-Length: 134 Date: Wed, 28 Jan 2004 10:11:36 GMT HTTP/1.1 404 Not Found [Error Code: 404] cadaver does not connect (error message: Malformed header line). Connecting to http://192.168.57.13:80 works like a charm though. I have now freshly installed Zope 2.6.2 (binary release) on my local windows box, using cadaver to open localhost:9800 works without problems. I will now setup Zope on another OpenBSD box and see how it works after a fresh installation. Best, Barbara
Barbara Langmueller wrote:
BTW, Andreas does no longer support the WebDAV logger.
Where does it say that?
Is there any other way to debug the problem?
Put a TCP proxy like Shane Hathaway's TCPWatch in the middle and connect to that with your client. Or use a packet sniffer like Ethereal for a less invasive way of having a look. cheers, Chris
At 11:23 AM 1/20/2004 +0000, Chris Withers wrote:
Barbara Langmueller wrote:
BTW, Andreas does no longer support the WebDAV logger.
Where does it say that?
I sent him an email and he answered: "i am sorry but I do no longer support the webdav logger" The respective page(s) on zope.org should be updated. Best, Barbara
participants (4)
-
Barbara Langmueller -
Chris Withers -
Dieter Maurer -
J Cameron Cooper