X-Git-Url: http://git.shiar.net/perl/plp/.git/blobdiff_plain/a4dab1e4ec41edfa4ba07128f9ee5ff97a53c3ee..da455137a47490d44e10258c1b875c63e0b34b2d:/PLP.pm diff --git a/PLP.pm b/PLP.pm index e5988c6..03c4acb 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,30 @@ 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 (recommended) +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. +Either version 1 or 2. Using +L, +L, +or L. =back @@ -429,17 +434,20 @@ CGI.pm. Read L for information more about this. A lot of questions are asked often, so before asking yours, please read the FAQ at L. Some examples can be found at L. -=head1 NO WARRANTY - -No warranty, no guarantees. Use PLP at your own risk, as I disclaim all -responsibility. - =head1 AUTHORS Currently maintained by Mischa POSLAWSKY Originally by Juerd Waalboer +=head1 LICENSE + +Copyright (c) 2000-2002 Juerd Waalboer, 2005-2008 Mischa POSLAWSKY. +All rights reserved. + +This software is free software; +you can redistribute and/or modify it under the terms of the MIT/X11 license. + =head1 SEE ALSO L, L, L, L