table of contents
other versions
- wheezy 0.9989-1+deb7u1
- wheezy-backports 1.0030-1~bpo70+1
- jessie 1.0033-1
- testing 1.0042-1
- unstable 1.0042-1
Plack::App::Directory(3pm) | User Contributed Perl Documentation | Plack::App::Directory(3pm) |
NAME¶
Plack::App::Directory - Serve static files from document root with directory indexSYNOPSIS¶
# app.psgi use Plack::App::Directory; my $app = Plack::App::Directory->new({ root => "/path/to/htdocs" })->to_app;
DESCRIPTION¶
This is a static file server PSGI application with directory index a la Apache's mod_autoindex.CONFIGURATION¶
- root
- Document root directory. Defaults to the current directory.
AUTHOR¶
Tatsuhiko MiyagawaSEE ALSO¶
Plack::App::File2014-04-05 | perl v5.14.2 |