Hot answers tagged

14 votes
Accepted

apache2.4 with webdav give an 405 error

There seems to be a bunch of people who have come accross this issue after the last update. I found my answer here: on the Dav on directories, disable the Directory index features with the following ...
  • 166
7 votes
Accepted

NET USE command doesn't authenticate when credentials are passed as parameters

Two things: the password should precede the username, and the username should include the users domain name. NET USE * <link> <password> /USER:<userdomain>\<user>
  • 305
6 votes

Map Network Drive to a WebDAV Server via PowerShell

Here is a working example of me mounting the Sysinternals WebDAV site to my S: drive: [String]$WebDAVShare = '\\live.sysinternals.com\Tools' New-PSDrive -Name S -PSProvider FileSystem -Root $...
  • 55.1k
4 votes

Could not open the lock database - Apache WebDAV setup

This was a gotcha for me, but according to the documentation for mod_dav: "The directory containing the lock database file must be writable by the User and Group under which Apache is running." You ...
4 votes
Accepted

Accessing SharePoint DavWWWRoot from Windows Server 2008 R2

According to this page, the Mini-Redirector (i.e. the WebDAV client) is not installed on Server 2008 and higher unless you install the Desktop Experience feature.
  • 1,054
3 votes
Accepted

Apache: Disable *parsing* of htaccess in webdav

You'll need to use a <Directory> container instead of a <Location> container in order to apply the AllowOverride directive. Whilst the AllowOverride directive has "directory" context (...
  • 11.8k
3 votes
Accepted

net use encountering "System error 67 has occurred." when trying to map from script running as service

Figured it out. You have to use UNC paths to copy from remote sources and running as a local service. Apparently, this was answered on stackoverflow: From http://msdn.microsoft.com/en-us/library/...
3 votes

How to rewrite WebDav http Destination request header on Nginx

Sorry for noise. self solved, by using headers-more-nginx-module. Whole simple config is: server { listen 80 ; listen [::]:80 ; server_name _; root /var/www/html; charset utf-...
2 votes

How to set default umask for Tomcat webdav servlet?

You can create an environment file for tomcat: In /usr/shared/tomcat8/binwhere 8 is your appropriate tomcat version, create setenv.sh file containing: #!/bin/bash umask 0002
  • 21
2 votes
Accepted

rsync to unmounted webdav share

You can only use rsync to connect to the webdav share if you first mount the webdav share on a system that you can ssh to. For example, in linux you can use something like davfs. After you do that, ...
2 votes

mounting webdav as user (no sudo)

If you have sudo rights but want to mount this the directory as a regular user you can use davfs and mount. Just adding this for completion if somebody searches for this answer like I did. sudo apt-...
  • 121
2 votes

Could not open the lock database - Apache WebDAV setup

For the benefit of those who reach here from a search engine, another reason for this error is if the underlying apr-util DBM driver is missing / not installed. Usually this is resolved by installing ...
2 votes
Accepted

any autofs experts? how to get autofs and webdav to work together?

I got it working. For reference, here is a working autofs with WebDAV setup Install prereqs $ sudo apt-get install autofs $ sudo apt-get install davfs2 /etc/auto.master /Server.mount /etc/...
  • 1,614
2 votes
Accepted

Does/should webdav support streaming?

I'm not sure about what you think of when you say "streaming". WebDAV allows file transfers. It also allows partial file transfers (as specified in the HTTP standard). Hence if your application ...
  • 156
2 votes

Use Kerberos ticket to access WebDAV

Did you have a look at the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters AuthForwardServerList entry (KB 943280)? This works for me.
2 votes
Accepted

How to use the current user credentials to access a WebDAV share?

More than likely, this is an issue with integrated credentials not working. The 5 second pause you are referring to generally means that the system is trying to automatically authenticate - and then ...
  • 1,336
2 votes

webdav, controlling access via group of users

I assume you are using Apache httpd 2.4 as your webdav server. In that case, you can use the mod_authz_dbm module or the mod_authnz_ldap module to provide user and group information to Apache and ...
  • 97.6k
2 votes

webdav, controlling access to folder

<Location> matches URLS, so the URL webdav/myuser is only covered by the first rule with the more permissive restriction. You would need to either change to <Directory> or change the ...
  • 97.6k
2 votes
Accepted

webDAV and CORS

The OPTIONS method must not be subject to authorisation, so put it outside of the directory requiring authentication, like this: RewriteEngine on RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule ^(.*...
1 vote

WebDAV drive map error 67 on Windows Server clients (not Win 7/10)

OK, I don't know if this is a proper solution or not, but it seems to have worked. On each of the Windows Server 2008 R2, 2012 and 2012 R2 systems I installed the "Desktop Experience" feature and was ...
  • 783
1 vote

Problems mounting IIS8.5 WebDAV to a local drive letter

I've found most WebDAV-Problems by enabling and analyzing the IIS Site Logfiles. We used tworeferences to setup WebDAV - maybe one offers some help for you: To configure / check the user access-...
  • 356
1 vote

IIS8.5 with WebDAV only serves read-only files

I don't have enough rep to comment, so I'm writing as answer. Since you said that the setup works with Atlassian server and does not work with yours, what I would do to debug the problem is trace the ...
  • 135
1 vote

Map Network Drive to a WebDAV Server via PowerShell

New-PSDrive -Name F -PSProvider FileSystem -Root "\\\\$FQDN_without_https@SSL/$URI_or_PathTo" -Credential <Username> Please pay attention for @SSL after FQDN. This works for PowerShell 5.0.
1 vote
Accepted

Apache WebDAV: Howto set authentication for share; w/ calendar support (Outlook, Thunderbird, Webapp)

The only way I found is to use no authentication but a long URL containing a random hash, like: https://example.org/somepath/calendarname-averylonghashtoavoidpiracy.ics This is similar to the "...
  • 140
1 vote

outlook trying to access image through webdav in email signature

Download the image Insert the picture/image directly into the signature when you create the signature. It won't show as an "attachment" if you are using HTML format. If you want different signatures ...
  • 32.4k
1 vote

Could not open the lock database - Apache WebDAV setup

We also receiving same issues in Apache WebDav with CentOS 7 to fix this after changing the configuration we did chcon -R -t httpd_sys_content_rw_t /var/www/{webdav root folder} After this it works ...
1 vote

Forcing SMB Over 445 Instead of 80

Yes, it's possible. Just for background (or FYI), port 135 is used for NETBIOS, which only functions within the local broadcast domain, unless there's a WINS server, which basically no one has any ...
  • 53.5k
1 vote

apache2.4 with webdav give an 405 error

As ThBB already pointed out, the DirectoryIndex is the problem, because the index script will receive the HTTP request and won't handle it. In my case I need the index-feature, because I have a web ...
  • 143
1 vote
Accepted

WebDAV and Windows 7, no write access

Does your apache logs show you are properly authenticated as the webdav user? Sounds like digest authentication may not be working properly. Take a look at this blog post: http://dark9t.github.io/...
  • 1,600
1 vote
Accepted

Apache require user does not stop other users from access

Because of this in the first Directory configuraion: Require valid-user Any user in that file is considered valid. Change 'valid-user' to 'michael_mayer' and it will work properly. ...
  • 3,633

Only top scored, non community-wiki answers of a minimum length are eligible