move backend interface modules into PLP::Backend:: namespace
[perl/plp/.git] / PLP / Backend / FastCGI.pm
similarity index 79%
rename from PLP/FastCGI.pm
rename to PLP/Backend/FastCGI.pm
index 7db729697ad23c0c12de6acf5fb8864b21ddfc32..8ee326172d1fa8dcfb114ed9aab9f9befc26e29d 100644 (file)
@@ -1,10 +1,10 @@
-package PLP::FastCGI;
+package PLP::Backend::FastCGI;
 
 use strict;
 
-use PLP::CGI;
+use PLP::Backend::CGI;
 use FCGI;
-use base 'PLP::CGI';
+use base 'PLP::Backend::CGI';
 
 our $VERSION = '1.00';
 
@@ -22,7 +22,7 @@ sub import {
 
 =head1 NAME
 
-PLP::FastCGI - FastCGI interface for PLP
+PLP::Backend::FastCGI - FastCGI interface for PLP
 
 =head1 SYNOPSIS
 
@@ -33,7 +33,7 @@ to enable I<mod_fastcgi> (add/outcomment in server.modules), and add:
 
     fastcgi.server = (
         ".plp" => ((
-            "bin-path" => "/usr/bin/perl -MPLP::FastCGI",
+            "bin-path" => "/usr/bin/perl -MPLP::Backend::FastCGI",
             "socket" => "/tmp/fcgi-plp.socket",
         )),
     )
@@ -44,7 +44,7 @@ You'll need a dispatch script (F<plp.fcgi> is included with PLP).
 Example F</foo/bar/plp.fcgi>:
 
     #!/usr/bin/perl
-    use PLP::FastCGI;
+    use PLP::Backend::FastCGI;
 
 Then enable either I<mod_fastcgi> or I<mod_fcgid>, and setup F<httpd.conf>
 (often just create a F</etc/apache2/conf.d/plp>) with:
@@ -65,5 +65,5 @@ Mischa POSLAWSKY <perl@shiar.org>
 
 =head1 SEE ALSO
 
-L<PLP|PLP>, L<PLP::CGI|PLP::CGI>, L<FCGI|FCGI>
+L<PLP|PLP>, L<PLP::Backend::CGI|PLP::Backend::CGI>, L<FCGI|FCGI>