Plack::App::Directory::Apaxy - Serve static files from document root with directory index using Apaxy
version 0.004
# app.psgi use Plack::App::Directory::Apaxy; my $app = Plack::App::Directory->new({ root => "/path/to/htdocs" })->to_app; # one-liner $ plackup -MPlack::App::Directory::Apaxy -e 'Plack::App::Directory::Apaxy->new->to_app' # one-liner using Starlet $ plackup -s Starlet -MPlack::App::Directory::Apaxy --max-workers=5 -e 'Plack::App::Directory::Apaxy->new->to_app'
This is a static file server PSGI application with directory index using Apaxy.
Document root directory. Defaults to the current directory.
Apaxy resource root directory. Usually you don't need to set it up by your hand.
HTML contents what you want to insert to index page.
Plack::App::Directory
Apaxy
Keedi Kim - 김도형 <keedi@cpan.org>
This software is copyright (c) 2013 by Keedi Kim.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Plack::App::Directory::Apaxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::App::Directory::Apaxy
CPAN shell
perl -MCPAN -e shell install Plack::App::Directory::Apaxy
For more information on module installation, please visit the detailed CPAN module installation guide.