perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petry Roman, IT" <Roman.Pe...@dillinger.biz>
Subject RE: MP1 -> MP2 migration Problems.
Date Fri, 15 Feb 2008 08:37:03 GMT
Hello Randy, Hello Perrin,

8-) thanks a lot for your help. I tried to apply the patch , but my compat.pm is a little
bit different to the source patch i think.
but no problem. i did a manual patch and only applied the namespace row.

package Apache;

in front ot the 
sub request {

line

nothing more, nothing less .. and it WORKS 8-)..

Will try with our "normal" modperl scripts now, but my test.pl script works.

thanks again for your help .. and now you have a new patch for the next release 8-)

bye
Roman
-----Urspr├╝ngliche Nachricht-----
Von: Randy Kobes [mailto:randy@theoryx5.uwinnipeg.ca]
Gesendet: Donnerstag, 14. Februar 2008 21:56
An: Perrin Harkins
Cc: Petry Roman, IT; modperl@perl.apache.org
Betreff: Re: MP1 -> MP2 migration Problems.


On Thu, 14 Feb 2008, Perrin Harkins wrote:

> On Wed, Feb 13, 2008 at 3:08 PM, Petry Roman, IT
> <Roman.Petry@dillinger.biz> wrote:
>>  Looks ok i think. Apache.pm is loaded.. So why can┬┤t i get it to work.. damn thing
8-).
>
> This is starting to look like a bug in Apache2::compat to me.  I think
> request() is defined in the wrong namespace.  I'll try to make a patch
> for you to try.

Does the attached patch work (untested)?

> Do you actually use the Apache->request() call?  In a Registry script,
> you can get $r just by calling shift at the beginning of the program.

That's a good point.

-- 
best regards,
Randy Kobes
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Mime
View raw message