X-Git-Url: http://git.shiar.nl/perl/plp/.git/blobdiff_plain/b5e0ee87251670be18b2f2fc128a4be0b25ebfb8..d9f3acb221a71e094318c7b5d3809aa81dbb5bb3:/lib/PLP.pm diff --git a/lib/PLP.pm b/lib/PLP.pm index 03c4acb..42866dc 100644 --- a/lib/PLP.pm +++ b/lib/PLP.pm @@ -12,8 +12,9 @@ use File::Basename (); use File::Spec; use strict; +use warnings; -our $VERSION = '3.19'; +our $VERSION = '3.20'; # Subs in this package: # _default_error($plain, $html) Default error handler @@ -260,15 +261,11 @@ PLP - Perl in HTML pages F configuration using L: - server.modules = ( - "mod_fastcgi", - ) - 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", + ))) =head2 Apache installation @@ -364,14 +361,18 @@ These are described in L. =over 22 -=item $ENV{PLP_NAME} +=item $ENV{SCRIPT_NAME} The URI of the PLP document, without the query string. (Example: C) -=item $ENV{PLP_FILENAME} +Used to be renamed to C<$ENV{PLP_NAME}>, which is still provided but deprecated. + +=item $ENV{SCRIPT_FILENAME} The filename of the PLP document. (Example: C) +C<$ENV{PLP_SCRIPT}> also still provided but deprecated. + =item $PLP::VERSION The version of PLP.