The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

DESCRIPTION

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

CONFIGURATION

root

Document root directory. Defaults to the current directory.

dbobj

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;

AUTHOR

Nobuo Danjou <nobuo.danjou@gmail.com>

SEE ALSO

Net::DAV::Server

LICENSE

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