move backend interface modules into PLP::Backend:: namespace
[perl/plp/.git] / PLP / FastCGI.pm
diff --git a/PLP/FastCGI.pm b/PLP/FastCGI.pm
deleted file mode 100644 (file)
index 7db7296..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-package PLP::FastCGI;
-
-use strict;
-
-use PLP::CGI;
-use FCGI;
-use base 'PLP::CGI';
-
-our $VERSION = '1.00';
-
-sub import {
-       my $self = shift;
-       my $request = FCGI::Request();
-       while ($request->Accept() >= 0) {
-               $PLP::use_cache = !defined $ENV{PLP_CACHE} || $ENV{PLP_CACHE}; # before it's clean()ed
-               delete $ENV{PATH_TRANSLATED};
-               $self->everything();
-       }
-}
-
-1;
-
-=head1 NAME
-
-PLP::FastCGI - FastCGI interface for PLP
-
-=head1 SYNOPSIS
-
-=head2 Lighttpd
-
-Edit the configuration file (usually F</etc/lighttpd/lighttpd.conf>)
-to enable I<mod_fastcgi> (add/outcomment in server.modules), and add:
-
-    fastcgi.server = (
-        ".plp" => ((
-            "bin-path" => "/usr/bin/perl -MPLP::FastCGI",
-            "socket" => "/tmp/fcgi-plp.socket",
-        )),
-    )
-
-=head2 Apache
-
-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;
-
-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:
-
-    <IfModule mod_fastcgi.c>
-        AddHandler fastcgi-script plp
-        FastCgiWrapper /foo/bar/plp.fcgi
-    </IfModule>
-
-    <IfModule mod_fcgid.c>
-        AddHandler fcgid-script plp
-        FCGIWrapper /foo/bar/plp.fcgi .plp
-    </IfModule>
-
-=head1 AUTHOR
-
-Mischa POSLAWSKY <perl@shiar.org>
-
-=head1 SEE ALSO
-
-L<PLP|PLP>, L<PLP::CGI|PLP::CGI>, L<FCGI|FCGI>
-