You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Aare Vesi <aa...@myrien.com> on 2004/08/21 20:33:03 UTC
Apache::Server and mod_perl 1.99_15
Hi,
While using mod_perl 1.99_15 and latest Embperl from CVS
I stumbled upon following bug:
mod_perl 1.99_15 does not include Apache::Server module anymore.
It has been replaced with Apache::ServerRec.
from mod_perl changes doc there is 'In order to be consistent with
Apache::RequestRec, Apache::Server is
now Apache::ServerRec and all methods/functions from Apache::Server
now live in Apache::ServerRec. [Stas]'
following patch replaces the module name in Embperl.pm.
--- Embperl.pm 2004-08-04 12:51:46.000000000 +0300
+++ Embperl.pm.orig 2004-08-04 12:51:37.000000000 +0300
@@ -67,7 +67,7 @@
if ($modperl2)
{
- require Apache::Server ;
+ require Apache::ServerRec ;
require Apache::ServerUtil ;
require Apache::RequestRec ;
require Apache::RequestUtil ;
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Apache::Server and mod_perl 1.99_15
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
>
> While using mod_perl 1.99_15 and latest Embperl from CVS I
> stumbled upon following bug:
>
> mod_perl 1.99_15 does not include Apache::Server module anymore.
> It has been replaced with Apache::ServerRec.
>
Thanks for the hint. I modified your patch slightly to work with
mod_perl-1.99_15 and also the older versions. It now committed to the CVS
Gerald
---------------------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
---------------------------------------------------------------------------
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org