Skip to content

Lighttpd + webdav-js quickstart WebDAV server configuration file

Notifications You must be signed in to change notification settings

Code-Otto/lighttpd-webdavjs-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lighttpd + webdav-js quickstart configuration file

Base configuration file for quickly setting up a Lighttpd webserver with WebDAV support, seamless webdav-js web UI integration for managing files within any modern web browser and a fallback URL prefix serving old-school file indexes

Preview screenshot

Prerequisites

  • Lighttpd with mod_webdav and mod_openssl (For HTTPS, you may as well use other SSL library module if you wish)
    In Debian/Ubuntu: apt install lighttpd lighttpd-mod-webdav lighttpd-mod-openssl
  • A directory of your choice containing the files and subdirectories you want to serve (The WebDAV server root)
  • A separate directory for storing the static webdav-js assets. It is recommended to keep it outside the WebDAV server root
    This directory should only contain another directory named dav-assets, inside which you should place:

Setting up

  1. Get the lighttpd-webdavjs.conf configuration template from this repo and read through the file filling variables as you need where indicated
  2. Try the config: /usr/sbin/lighttpd -D -f /path/to/your/lighttpd-webdavjs.conf
  3. Once successfully working, you're all set! You may now use your distro-specific means to set it up as a permanent service. In Debian/Ubuntu overwrite /etc/lighttpd/lighttpd.conf with your custom config file

About

Lighttpd + webdav-js quickstart WebDAV server configuration file

Topics

Resources

Stars

Watchers

Forks

Languages