logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Tatsuhiko Miyagawa

Configuration

       root
           Document root directory. Defaults to the current directory.

Description

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

Name

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

See Also

       Plack::App::File

perl v5.38.2                                       2024-01-20                         Plack::App::Directory(3pm)

Synopsis

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

See Also