X-Git-Url: http://git.shiar.nl/perl/plp/.git/blobdiff_plain/eadf5be66f5ada7c6f973e0e7cf5b85985dd6e80..d9f3acb221a71e094318c7b5d3809aa81db:/lib/PLP/Backend/CGI.pm diff --git a/lib/PLP/Backend/CGI.pm b/lib/PLP/Backend/CGI.pm index 5d45500..10b9b45 100644 --- a/lib/PLP/Backend/CGI.pm +++ b/lib/PLP/Backend/CGI.pm @@ -1,6 +1,7 @@ package PLP::Backend::CGI; use strict; +use warnings; our $VERSION = '1.02'; @@ -48,7 +49,6 @@ sub init { } delete @ENV{ - qw(SCRIPT_NAME SCRIPT_FILENAME), grep /^REDIRECT_/, keys %ENV }; @@ -94,12 +94,12 @@ Or install the C included with PLP. =head2 Lighttpd -Usually in F: -enable I (add/outcomment in server.modules), and add: +Add this to your configuration file (usually F): - cgi.assign = ( - ".plp" => "/foo/bar/plp.cgi", - ) + server.modules += ("mod_cgi") + cgi.assign += (".plp" => "/foo/bar/plp.cgi") + server.indexfiles += ("index.plp") + static-file.exclude-extensions += (".plp") =head2 Apache