Author |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 08 Jun '07 17:38 Post subject: webDAV over SSL? |
|
|
Does anyone know how to configure apache that webDAV works over SSL? Or can't Explorer.exe handle the request?
my current DAV config
Code: |
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
<IfModule dav_module>
<IfModule dav_fs_module>
<IfModule setenvif_module>
<IfModule authn_file_module>
DavLockDB "/server2/tmp/DavLock"
Alias /dav "/server2/dav"
<Directory "/server2/dav">
Dav On
Order allow,deny
Allow from all
AuthName DAV-upload
# Here with htpasswd and md5
# \server2\apache\bin\htpasswd -b \server2\htpasswd.dav user
#AuthType Basic
#AuthUserFile "/server2/htpasswd.dav"
#<LimitExcept GET HEAD OPTIONS>
# require valid-user
#</LimitExcept>
</Directory>
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
</IfModule>
</IfModule>
</IfModule>
</IfModule>
|
If I call in the brwoser https://mydomain/dav/ I can get the files, but not from windows.... without SSL it works fine.
Last edited by James Blond on Sat 09 Jun '07 23:34; edited 1 time in total |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Fri 08 Jun '07 19:15 Post subject: |
|
|
I remember reading somewhere that webdav + ssl worked on windows only with basic auth... can't find the reference any more though |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 09 Jun '07 23:50 Post subject: |
|
|
I found on M$ that Windows XP does not support WebDAV with SSL since SP2
because it blocks auth basic.
I found a reg hack for that
Code: |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"UseBasicAuth"=dword:00000001
|
But even that didn't fix the problem
On Linux it was much easier webdavs://server/share
On Mac OS it also failed...
There are a few good clients for XP but no chance if trying natively. |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 10 Jun '07 13:20 Post subject: |
|
|
You missed that it should be https I know that normal webdav works, but there are some troubles with ssl |
|
Back to top |
|
PipoDeClown
Joined: 20 Dec 2005 Posts: 77
|
|
Back to top |
|