Plack::App::Directory
Serve static files from document root with directory index
- Provided by: libplack-perl (Version: 1.0039-1)
- Report a bug
Serve static files from document root with directory index
# app.psgi
use Plack::App::Directory;
my $app = Plack::App::Directory->new({ root => "/path/to/htdocs" })->to_app;
This is a static file server PSGI application with directory index a la Apache's mod_autoindex.
Tatsuhiko Miyagawa
Plack::App::File