From: Christian Hansen Date: Sat, 2 Apr 2005 04:45:23 +0000 (+0000) Subject: add C::E::Apache::MP1 and C::E::Apache::MP2 X-Git-Tag: 5.7099_04~1626 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=479d2af43e49eb898f7453e9888e977f41b65c7c add C::E::Apache::MP1 and C::E::Apache::MP2 --- diff --git a/lib/Catalyst/Engine/Apache/MP1.pm b/lib/Catalyst/Engine/Apache/MP1.pm new file mode 100644 index 0000000..c620d4c --- /dev/null +++ b/lib/Catalyst/Engine/Apache/MP1.pm @@ -0,0 +1,49 @@ +package Catalyst::Engine::Apache::MP1; + +use strict; +use base 'Catalyst::Engine::Apache'; + +use Apache (); +use Apache::Request (); +use Apache::Cookie (); + +sub handler ($$) { shift->SUPER::handler(@_) } + +=head1 NAME + +Catalyst::Engine::Apache::MP1 - Catalyst Apache MP1 Engine + +=head1 SYNOPSIS + +See L. + +=head1 DESCRIPTION + +This is the Catalyst engine specialized for Apache mod_perl version 1. + +=head1 OVERLOADED METHODS + +This class overloads some methods from C. + +=over 4 + +=item $c->handler + +=back + +=head1 SEE ALSO + +L, L, L. + +=head1 AUTHOR + +Sebastian Riedel, C + +=head1 COPYRIGHT + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +=cut + +1; diff --git a/lib/Catalyst/Engine/Apache/MP2.pm b/lib/Catalyst/Engine/Apache/MP2.pm new file mode 100644 index 0000000..fb03a16 --- /dev/null +++ b/lib/Catalyst/Engine/Apache/MP2.pm @@ -0,0 +1,56 @@ +package Catalyst::Engine::Apache::MP2; + +use strict; +use base 'Catalyst::Engine::Apache'; + +use Apache2 (); +use Apache::Connection (); +use Apache::RequestIO (); +use Apache::RequestRec (); +use Apache::RequestUtil (); +use Apache::Request (); +use Apache::Cookie (); +use Apache::Upload (); +use Apache::URI (); +use APR::URI (); + +sub handler : method { shift->SUPER::handler(@_) } + +=head1 NAME + +Catalyst::Engine::Apache::MP2 - Catalyst Apache MP2 Engine + +=head1 SYNOPSIS + +See L. + +=head1 DESCRIPTION + +This is the Catalyst engine specialized for Apache mod_perl version 2. + +=head1 OVERLOADED METHODS + +This class overloads some methods from C. + +=over 4 + +=item $c->handler + +=back + +=head1 SEE ALSO + +L, L, L. + +=head1 AUTHOR + +Sebastian Riedel, C + +=head1 COPYRIGHT + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +=cut + +1;