X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/fcb21b1e9390fe5a9b0cf69292e9025be6be47a9..d9f3acb221a71e094318c7b5d3809aa81db:/lib/PLP/Backend/FastCGI.pm diff --git a/lib/PLP/Backend/FastCGI.pm b/lib/PLP/Backend/FastCGI.pm index b3c8c3a..92dda74 100644 --- a/lib/PLP/Backend/FastCGI.pm +++ b/lib/PLP/Backend/FastCGI.pm @@ -1,6 +1,7 @@ package PLP::Backend::FastCGI; use strict; +use warnings; use PLP::Backend::CGI (); use FCGI; @@ -33,15 +34,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