X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/1dd113c913fed66850297163930ce0b6e6915dc2..96959bff080392067524996e6edbf954:/PLP.pm diff --git a/PLP.pm b/PLP.pm index e5988c6..e7ec30c 100644 --- a/PLP.pm +++ b/PLP.pm @@ -81,12 +81,12 @@ sub error { # Wrap old request handlers. sub everything { - require PLP::CGI; - PLP::CGI::everything(); + require PLP::Backend::CGI; + PLP::Backend::CGI::everything(); } sub handler { - require PLP::Apache; - PLP::Apache::handler(@_); + require PLP::Backend::Apache; + PLP::Backend::Apache::handler(@_); } # Sends the headers waiting in %PLP::Script::header @@ -258,25 +258,25 @@ PLP - Perl in HTML pages =head2 Lighttpd installation -F configuration using L: +F configuration using L: server.modules = ( "mod_fastcgi", ) fastcgi.server = ( ".plp" => (( - "bin-path" => "/usr/bin/perl -MPLP::FastCGI", + "bin-path" => "/usr/bin/perl -MPLP::Backend::FastCGI", "socket" => "/tmp/fcgi-plp.socket", )), ) =head2 Apache installation -F for a L setup: +F for a L setup: SetHandler perl-script - PerlHandler PLP::Apache + PerlHandler PLP::Backend::Apache PerlSendHeader On @@ -293,25 +293,28 @@ F for a L setup: PLP is yet another Perl embedder, primarily for HTML documents. Unlike with other Perl embedders, there is no need to learn a meta-syntax or object model: one can just use the normal Perl constructs. PLP runs under -L and L for speeds comparable -to those of PHP, but can also be run as a standard L script. +L and L +for speeds comparable to those of PHP, but can also be run as a standard +L script. =head2 Setup -See either L, L or L. +See either L, L +or L. At least the following servers are supported: =over 10 =item Lighttpd -With L or L. +With L or L. =item Apache Either version 1 or 2. -Using L, L, -or L. +Using L, +L, +or L. =back