X-Git-Url: http://git.shiar.nl/perl/plp/.git/blobdiff_plain/f6d0b3876d0b4044fbfbf666ed4a007aaf3491db..a4dab1e4ec41edfa4ba07128f9ee5ff97a53c3ee:/PLP/FastCGI.pm diff --git a/PLP/FastCGI.pm b/PLP/FastCGI.pm index e16fbcb..7db7296 100644 --- a/PLP/FastCGI.pm +++ b/PLP/FastCGI.pm @@ -20,3 +20,50 @@ sub import { 1; +=head1 NAME + +PLP::FastCGI - FastCGI interface for PLP + +=head1 SYNOPSIS + +=head2 Lighttpd + +Edit the configuration file (usually F) +to enable I (add/outcomment in server.modules), and add: + + fastcgi.server = ( + ".plp" => (( + "bin-path" => "/usr/bin/perl -MPLP::FastCGI", + "socket" => "/tmp/fcgi-plp.socket", + )), + ) + +=head2 Apache + +You'll need a dispatch script (F is included with PLP). +Example F: + + #!/usr/bin/perl + use PLP::FastCGI; + +Then enable either I or I, and setup F +(often just create a F) with: + + + AddHandler fastcgi-script plp + FastCgiWrapper /foo/bar/plp.fcgi + + + + AddHandler fcgid-script plp + FCGIWrapper /foo/bar/plp.fcgi .plp + + +=head1 AUTHOR + +Mischa POSLAWSKY + +=head1 SEE ALSO + +L, L, L +