Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make built-in DAV client work with HTTPS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make built-in DAV client work with HTTPS
Authored by: liyanage on Jun 16, '04 11:22:49AM

I think this will break as soon as you try to rename files. The server will freak out because it sees a mismatch in the URL scheme (https/http) and/or port number.



[ Reply to This | # ]
Make built-in DAV client work with HTTPS
Authored by: rasputnik on Oct 11, '04 07:55:17AM

It does :)

The only fix that springs to mind is to forward local
port 443 and mess with your hosts file to fool the Finder into
thinking its running on the server.

Haven't managed to get that working yet, though...



[ Reply to This | # ]
COPY and MOVE are broken
Authored by: rasputnik on Oct 12, '04 09:34:31AM

Because the destination field is a fully-qualified url.
the protocol and host don't match those on the server.

It's fixable by

a) adding a ServerAlias of 'localhost' to the server

AND

b) patching util.c to ignore the protocol sent in the

Desination: header

(this is for apache 2.0.52)


-----------------------------------------------------

--- modules/dav/main/util.c.orig Mon Oct 11 16:23:29 2004
+++ modules/dav/main/util.c Tue Oct 12 13:59:56 2004
@@ -175,6 +175,9 @@
return result;
}

+ /* force the scheme to be ssl */
+ comp.scheme = "https";
+
/* the URI must be an absoluteURI (WEBDAV S9.3) */
if (comp.scheme == NULL && must_be_absolute) {
result.err.status = HTTP_BAD_REQUEST;
-------------------------------------------------------------------------------------






[ Reply to This | # ]