QuillLittlefeather / openmetaverse

Automatically exported from code.google.com/p/openmetaverse
0 stars 0 forks source link

[patch] allow webdav service to operate from a path other than / #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the Simian WebDAV service assumes one is using
http://foo.example.com/ to access the service.  This patch adds a config
option, webdav_url_base_path, which you can set to something other than
"/", making something like http://foo.example.com/webdav/ possible.

Original issue reported on code.google.com by coyle@knifejaw.com on 16 Mar 2010 at 5:22

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch. I'll apply this, but the config file will need a warning. 
From
the SabreDAV website:

"Microsofts windows' WebDAV implementation requires the WebDAV service to sit 
at the
root of a domainname. There's no way you can connect to a url deeper in the 
WebDAV
structure, because it will traverse every part of the path and make PROPFIND
requests. So you have to make absolutely sure you have SabreDAV installed on a 
root url."

However, you could still support clients other than Windows XP using a non-root 
path.

Original comment by jhurlima...@gmail.com on 16 Mar 2010 at 5:30

GoogleCodeExporter commented 9 years ago
[ For anyone else reading, the above was quoted from
http://code.google.com/p/sabredav/wiki/Windows ]

Hrm.  I'll have to give it a go with Vista & 7 and see if it complains, too.  XP
seems to have certain expectations about responses to PROPFIND (some it's happy 
with,
some it's not), so I'd like to figure out what those are.  If this behavior is
expected across the board on Windows, I'm less interested in having the patch
applied.  But if XP is the only one with this behavior...

I'll reply here once I've done more testing.

-coyled

Original comment by coyle@knifejaw.com on 17 Mar 2010 at 10:12

GoogleCodeExporter commented 9 years ago
Any update on Vista or Windows 7 behavior with a non-root path?

Original comment by jhurlima...@gmail.com on 28 Apr 2010 at 7:19

GoogleCodeExporter commented 9 years ago
No, sorry, lost my Win VMs for testing.  Have new ones now, so I'll test this 
in the 
next few days.

Original comment by coyle@knifejaw.com on 29 Apr 2010 at 3:00

GoogleCodeExporter commented 9 years ago
Ping, we still need a decision on this when you get a chance to test.

Original comment by jhurlima...@gmail.com on 28 Jul 2010 at 10:54

GoogleCodeExporter commented 9 years ago

Original comment by jonaf...@gmail.com on 12 Aug 2010 at 3:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed as of commit add7e5.

Turns out the Sabre docs are either incorrect or out of date.  The WebDAV 
client in XP presently doesn't do the things that wiki page says it does.  But 
I had to make a couple changes to add a webdav_url_base_path config setting and 
get rid of the mod_rewrite requirement.

I verified it works with the Win XP and OS X (10.6) built-in clients, and 
cadaver on Linux.

Original comment by coyle@knifejaw.com on 28 Sep 2010 at 5:34