set $PLP::interface to executing backend
[perl/plp/.git] / PLP / Backend / CGI.pm
index 3b4c4003f1e8a7cce2c5598e2a6740bd1b964872..e4bcf1edd3d5d0e019df5133faeb68dadfd79ebc 100644 (file)
@@ -72,6 +72,7 @@ sub everything {
 
 # This is run by the CGI script. (#!perl \n use PLP::Backend::CGI;)
 sub import {
+       $PLP::interface = $_[0];
        $_[0]->everything();
 }
 
@@ -102,8 +103,8 @@ enable I<mod_cgi> (add/outcomment in server.modules), and add:
 
 =head2 Apache
 
-Enable I<mod_actions> and setup F<httpd.conf>
-(often just create a F</etc/apache2/conf.d/plp>) with:
+Enable I<mod_actions> and
+setup F<httpd.conf> (in new installs just create F</etc/apache/conf.d/plp>) with:
 
     <IfModule mod_actions.c>
         ScriptAlias /PLP_COMMON/ /foo/bar/
@@ -122,5 +123,5 @@ Mischa POSLAWSKY <perl@shiar.org>
 
 =head1 SEE ALSO
 
-L<PLP|PLP>, L<PLP::Backend::FastCGI|PLP::Backend::FastCGI>
+L<PLP>, L<PLP::Backend::FastCGI>