Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::App::Directory(User Contributed Perl DocumentatPlack::App::Directory(3)

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

SYNOPSIS
	 # 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 Miyagawa

SEE ALSO
       Plack::App::File

perl v5.24.1			  2015-12-06	      Plack::App::Directory(3)

NAME | SYNOPSIS | DESCRIPTION | CONFIGURATION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::App::Directory&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help