1Plack::App::Directory(3U)ser Contributed Perl DocumentatiPolnack::App::Directory(3)
2
3
4

NAME

6       Plack::App::Directory - Serve static files from document root with
7       directory index
8

SYNOPSIS

10         # app.psgi
11         use Plack::App::Directory;
12         my $app = Plack::App::Directory->new({ root => "/path/to/htdocs" })->to_app;
13

DESCRIPTION

15       This is a static file server PSGI application with directory index a la
16       Apache's mod_autoindex.
17

CONFIGURATION

19       root
20           Document root directory. Defaults to the current directory.
21

AUTHOR

23       Tatsuhiko Miyagawa
24

SEE ALSO

26       Plack::App::File
27
28
29
30perl v5.34.0                      2021-07-22          Plack::App::Directory(3)
Impressum