git.shiar.nl
/
perl
/
plp
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move backend interface modules into PLP::Backend:: namespace
[perl/plp/.git]
/
PLP
/
Backend
/
Apache.pm
diff --git
a/PLP/Apache.pm
b/PLP/Backend/Apache.pm
similarity index 90%
rename from
PLP/Apache.pm
rename to
PLP/Backend/Apache.pm
index 835f2b4c82ac6e64eed361f1f680b3729f5dd96a..94d38bf9cbaf0fe014c2384ce6265f608956d359 100644
(file)
--- a/
PLP/Apache.pm
+++ b/
PLP/Backend/Apache.pm
@@
-1,4
+1,4
@@
-package PLP::Apache;
+package PLP::
Backend::
Apache;
use strict;
use strict;
@@
-30,7
+30,7
@@
our $r;
sub init {
$r = shift;
sub init {
$r = shift;
- $PLP::print = 'PLP::Apache::print';
+ $PLP::print = 'PLP::
Backend::
Apache::print';
$PLP::read = \&read;
$ENV{PLP_FILENAME} = my $filename = $r->filename;
$PLP::read = \&read;
$ENV{PLP_FILENAME} = my $filename = $r->filename;
@@
-84,7
+84,7
@@
sub handler {
=head1 NAME
=head1 NAME
-PLP::Apache - Apache mod_perl interface for PLP
+PLP::
Backend::
Apache - Apache mod_perl interface for PLP
=head1 SYNOPSIS
=head1 SYNOPSIS
@@
-97,7
+97,7
@@
Setup F<httpd.conf> (often just create a F</etc/apache2/conf.d/plp>) with:
<IfModule mod_perl.c>
<Files *.plp>
SetHandler perl-script
<IfModule mod_perl.c>
<Files *.plp>
SetHandler perl-script
- PerlHandler PLP::Apache
+ PerlHandler PLP::
Backend::
Apache
PerlSendHeader On
PerlSetVar PLPcache On
</Files>
PerlSendHeader On
PerlSetVar PLPcache On
</Files>
@@
-125,5
+125,5
@@
Mischa POSLAWSKY <perl@shiar.org>
=head1 SEE ALSO
=head1 SEE ALSO
-L<PLP|PLP>, L<PLP::
FastCGI|PLP
::FastCGI>, L<mod_perl|Apache>
+L<PLP|PLP>, L<PLP::
Backend::FastCGI|PLP::Backend
::FastCGI>, L<mod_perl|Apache>