
Plack::App::DAV - simple DAV server for Plack

plackup -MPlack::App::DAV -e 'Plack::App::DAV->new->to_app'

Plack::App::DAV is simple DAV server for Plack.

Document root directory. Defaults to the current directory.
class specification and instanciate arguments for Net::DAV::LockManager. Defaults to 'Simple', makes Net::DAV::LockManager::Simple instance.
my $app = Plack::App::DAV->new->to_app;
is identical to the below.
my $app = Plack::App::DAV->new(dbobj => 'Simple')->to_app;
To make LockManager with sqlite DB, write
my $app = Plack::App::DAV->new(
dbobj => [DB => 'dbi:sqlite:lockdb.sqlite3']
)->to_app;

Nobuo Danjou <nobuo.danjou@gmail.com>


This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.