use strict;
-our $VERSION = '3.19';
+our $VERSION = '3.20';
# Subs in this package:
# _default_error($plain, $html) Default error handler
F<lighttpd.conf> configuration using L<mod_fastcgi|PLP::Backend::FastCGI>:
- 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
=over 22
-=item $ENV{PLP_NAME}
+=item $ENV{SCRIPT_NAME}
The URI of the PLP document, without the query string. (Example: C</foo.plp>)
-=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</var/www/index.plp>)
+C<$ENV{PLP_SCRIPT}> also still provided but deprecated.
+
=item $PLP::VERSION
The version of PLP.