The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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;

is identical to the below.

my $app = Plack::App::DAV->new(dbobj => 'Simple');

To make LockManager with sqlite DB, write

my $app = Plack::App::DAV->new(
    dbobj => [DB => 'dbi:sqlite:lockdb.sqlite3']
);

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.