Plack::App::Directory(3pm)

Plack::App::Directory3pm

Serve static files from document root with directory index

Usage

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

Overview

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Tatsuhiko Miyagawa

From libplack-perl 1.0051-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.