X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/b5e0ee87251670be18b2f2fc128a4be0b25ebfb8..fa3bff5b76161e1573a47623d0737a8e3a5d0dd9:/lib/PLP/Backend/FastCGI.pm diff --git a/lib/PLP/Backend/FastCGI.pm b/lib/PLP/Backend/FastCGI.pm index 8594a85..4f14863 100644 --- a/lib/PLP/Backend/FastCGI.pm +++ b/lib/PLP/Backend/FastCGI.pm @@ -2,7 +2,7 @@ package PLP::Backend::FastCGI; use strict; -use PLP::Backend::CGI; +use PLP::Backend::CGI (); use FCGI; use base 'PLP::Backend::CGI'; @@ -33,15 +33,15 @@ PLP::Backend::FastCGI - FastCGI interface for PLP =head2 Lighttpd -Edit the configuration file (usually F) -to enable I (add/outcomment in server.modules), and add: +Add this to your configuration file (usually F): - fastcgi.server = ( - ".plp" => (( - "bin-path" => "/usr/bin/perl -MPLP::Backend::FastCGI", - "socket" => "/tmp/fcgi-plp.socket", - )), - ) + server.modules += ("mod_fastcgi") + fastcgi.server += (".plp" => (( + "bin-path" => "/usr/bin/perl -MPLP::Backend::FastCGI", + "socket" => "/tmp/fcgi-plp.socket", + ))) + server.indexfiles += ("index.plp") + static-file.exclude-extensions += (".plp") =head2 Apache