What's new

webdav

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

i would like to setup a webdav server so i can stream videos, anybody know how to install it
apache, nginx, lighttpd — they are all got a WebDAV modules, but none of them conform whole WebDAV standarts. For example, I've used a lighttpd WebDAV module to synchronize Firefox bookmarks on several PC's, but I can't mount a WebDAV share as a network drive in Windows.
 
apache, nginx, lighttpd — they are all got a WebDAV modules, but none of them conform whole WebDAV standarts. For example, I've used a lighttpd WebDAV module to synchronize Firefox bookmarks on several PC's, but I can't mount a WebDAV share as a network drive in Windows.

I never got Windows' WebDAV client to mount anything. Didn't work with my cPanel's hosting, for instance. Ended up using Gladinet to mount my FTP directory in Explorer.
 
in the lighttmd.conf file should this get it working
$HTTP["url"] =~ "^/webdav($|/)" {
webdav.activate = "enable"
webdav.is-readonly = "enable"
webdav.sqlite-db-name = "/opt/var/run/lighttpd-webdav-lock.db"
}
how do i specify a folder dir for video streaming?

tried doing this http://www.itechtalk.com/thread6867.html
but the server wouldnt start
Code:
$HTTP["host"] == “<your_vhost_name>” {
  server.document-root = "/var/www/web1/web"
  alias.url = ( "/webdav" => "/var/www/web1/web" )
  $HTTP["url"] =~ "^/webdav($|/)" {
    dir-listing.activate = "enable"
    webdav.activate = "enable"
    webdav.is-readonly = "disable"
    auth.backend = "htpasswd"
    auth.backend.htpasswd.userfile = "/var/www/web1/passwd.dav"
    auth.require = ( "" => ( "method" => "basic",
                             "realm" => "webdav",
                             "require" => "valid-user" ) )
  }
}

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

the reason why the server wouldnt start was because htpasswd is part of the apache util package
 
Last edited:
i got win7 to mount my webdav server go here to learn how to do it.its a simple regedit change and a reset to make it work
http://www.scotttyee.com/blog/2011/07/24/mapping-a-network-drive-to-webdav-share-in-windows-7/
<this i copied and pasted>
Last week I was helping a friend finalize a build for their laptop. The last thing was to map a network drive to their WebDAV share to be available upon startup. Much to my surprise I kept receiving errors every time I attempted to map the WebDAV.

So off to the search engines and the trial and error game began. The following set of instructions is the combination of system tweaks that I found to successfully map our WebDAV share:
1.) Download and install the Microsoft update KB90730 – Web Folders: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=15123
2.) Reboot Windows
3.) Run Windows Update (Start > All Programs > Windows Update) to make sure the latest patches are installed on your system
4.) Install any necessary updates and Reboot Windows if necessary
5.) Make sure WebClient Services are active and start on boot
5a.) Start > Search > Type: services.msc > Select Services.
5b.) Find WebClient > Select
5c.) Select Automatic > Ok > Exit
6.) Modify the Windows registry, this will enable Windows to accept basic authentication for SSL and non-SSL shares.
6a.) Start > Search > Type: regedit > Select regedit.
6b.) The registry key of interest to find is: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
6c.) Select BasicAuthLevel (if it does not exist, create the key)
6d.) Change the value to 2. Select OK > File > Exit
7.) Reboot Windows
8.) Map your WebDAV share as a network drive.
8a.) Using Windows Explorer Select My Computer > Select Map Network Drive.
8b.) Put your WebDAV URI as the location and complete the desired settings (i.e. reconnect on login and use different credentials).

Hopefully the WebDAV share will connect and you can access it as a mapped drive.
 
Last edited:
What I have learned so far is windows 7 is very strict about webdav and what you can do. For instance the built in client only allows a maximum of 50 Meg's to be downloaded (again via the win 7 client), where as win xp mounts webdav with no problems at all.
To fix this you need to edit a few registry keys.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRxDAV\Parameters
DWORD: FsCtlRequestTimeoutInSec
Change to 7000


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
DWORD: FileSizeLimitInBytes
Default is 50000000 bytes.

Change to 4294967296
Change to 4gbs it will say its bigger then dword or something just press ok and it will change it to the maximum number it supports.

http://blogs.technet.com/b/netro/ar...when-upload-takes-longer-than-30-minutes.aspx

Remember to look at the post above this
 
Similar threads
Thread starter Title Forum Replies Date
S How to access webdav over ipv6? Asuswrt-Merlin 2

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top