GitXplorerGitXplorer
e

dav-server

public
27 stars
2 forks
5 issues

Commits

List of commits on branch master.
Unverified
3725a8d264680efe38cc2ca1885bc5f191c70589

More accurate readme

eedrex committed 9 years ago
Unverified
9056ec95429f0e538f9260900076cad98b1643a1

bin

eedrex committed 9 years ago
Unverified
e71c1c3988e1cde3337f1927419cfa7b6b5061c7

Add digest auth

eedrex committed 9 years ago
Unverified
bfe81ea425b1151eef8e9b4c14e7926f59321031

README

eedrex committed 9 years ago
Unverified
22e0f2acc0034138128f11909df34eb2bc80d3ec

add -i and -p

eedrex committed 9 years ago
Unverified
b8b54b5ce61b61743250607d9de2d8bdae6e87a7

firm up path handling

eedrex committed 9 years ago

README

The README file for this repository.

A filesystem-based webdav server, a thin wrapper around jsDAV.

Intended as a reference server for developing WebDAV save/load capabilities in TiddlyWiki.

Install

npm install -g dav-server

Usage

dav-server [--debug] [-i LISTEN_IP] [-p PORT] [--digest HTDIGEST_FILE --realm AUTH_REALM] rootDir

Authentication

If your server will be internet-facing, you probably want authentication.

Standard HTTP digest auth is built in:

dav-server --digest htaccess --realm wiki ./wiki/

To create an htaccess file use Apache's htaccess command or similar:

% htaccess -c ./htaccess wiki bob
<enter bob's password>
% htaccess ./htaccess wiki jane
<enter jane's password>
% cat htdigest
bob:wiki:e812d2badc815fe1cc4bd17bba6e505c
jane:wiki:bc7d2f2f47116effdd94b64f21dcf32c