Plack::App::FCGIDispatcher - Dispatch requests to FCGI servers
# app.psgi use Plack::App::FCGIDispatcher; my $app = Plack::App::FCGIDispatcher->new({ port => 8080, # FastCGI daemon port });
Plack::App::FCGIDispatcher is not really a middleware but it's a PSGI application to dispatch requests to external FCGI servers.
my $app = Plack::App::FCGIDispatcher->new({ host => '127.0.0.1', port => 8080, });
Specifies host and port where FastCGI daemon is listening. host defaults to 127.0.0.1.
127.0.0.1
my $app = Plack::App::FCGIDispatcher->new({ socket => "/tmp/fcgi.sock", });
Specifies UNIX socket path where FastCGI daemon is listening.
Tokuhiro Matsuno
Tatsuhiko Miyagawa
FCGI::Client
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.