logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: webDAV over SSL?
Author
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Fri 08 Jun '07 17:38    Post subject: webDAV over SSL? Reply with quote

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

PostPosted: Fri 08 Jun '07 19:15    Post subject: Reply with quote

I remember reading somewhere that webdav + ssl worked on windows only with basic auth... can't find the reference any more though Sad
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Sat 09 Jun '07 23:50    Post subject: Reply with quote

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 Confused


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

PostPosted: Sun 10 Jun '07 0:24    Post subject: Reply with quote

mac os x ==> COMMAND+k
http://yourserver:yourport/folder

sometimes you need to enter the port even if it is 80
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Sun 10 Jun '07 13:20    Post subject: Reply with quote

Jorge wrote:
mac os x ==> COMMAND+k
http://yourserver:yourport/folder

sometimes you need to enter the port even if it is 80


Embarassed 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

PostPosted: Thu 19 Jul '07 0:20    Post subject: webfolders update Reply with quote

maybe u need this http://support.microsoft.com/kb/892211
Back to top


Reply to topic   Topic: webDAV over SSL? View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules