1Plack::App::Directory(3U)ser Contributed Perl DocumentatiPolnack::App::Directory(3)
2
3
4
6 Plack::App::Directory - Serve static files from document root with
7 directory index
8
10 # app.psgi
11 use Plack::App::Directory;
12 my $app = Plack::App::Directory->new({ root => "/path/to/htdocs" })->to_app;
13
15 This is a static file server PSGI application with directory index a la
16 Apache's mod_autoindex.
17
19 root
20 Document root directory. Defaults to the current directory.
21
23 Tatsuhiko Miyagawa
24
26 Plack::App::File
27
28
29
30perl v5.32.0 2020-12-02 Plack::App::Directory(3)