You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Carlos Kassab <ck...@eplsite.org> on 2004/01/21 02:36:24 UTC

Using Apache 2.0.48 and mod_perl 1.99 with embperl

Hi all:
I have been using apache preinstalled with Mandrake but now i have 
decided to compile it to see if i can get a best performance.

Everything was working fine, i compiled apache and ran embperl as CGI 
using EplSite.

When i compiled and installed mod_perl the problems began, i do not know 
why i got the next error message:

[9407]ERR: 24: Error in Perl code: Can't locate object method "FETCH" 
via package "APR::Table" at 
/usr/lib/perl5/vendor_perl/5.8.1/CGI/Cookie.pm line 76.


My question is if everything works ok as cgi why not when using mod_perl?

Thank you very much for your help in advance.

Carlos Kassab

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Using Apache 2.0.48 and mod_perl 1.99 with embperl

Posted by Carlos Kassab <ck...@eplsite.org>.
Gerald:

Thank you very much for your help.

Now i can see embperl working with Apache and mod_perl with an Apache 
compiled in my computer.

Carlos Kassab


Gerald Richter wrote:

>>[9407]ERR: 24: Error in Perl code: Can't locate object method "FETCH"
>>via package "APR::Table" at
>>/usr/lib/perl5/vendor_perl/5.8.1/CGI/Cookie.pm line 76.
>>
>>    
>>
>
>You have to load APR::Table, a
>
>PerlModule APR::Table
>
>in your httpd.conf should do the trick
>
>  
>
>>My question is if everything works ok as cgi why not when using
>>mod_perl?
>>
>>    
>>
>
>CGI.pm behaves a little bit different when running under mod_perl. It tries
>to access Apache directly for performance reasons.
>
>Gerald
>
>
>--------------------------------------------------------------
>Gerald Richter     ecos electronic communication services gmbh
>IT-Securitylösungen * dynamische Webapplikationen * Consulting
>
>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


Re: Using Apache 2.0.48 and mod_perl 1.99 with embperl

Posted by Gerald Richter <ri...@ecos.de>.
>
> [9407]ERR: 24: Error in Perl code: Can't locate object method "FETCH"
> via package "APR::Table" at
> /usr/lib/perl5/vendor_perl/5.8.1/CGI/Cookie.pm line 76.
>

You have to load APR::Table, a

PerlModule APR::Table

in your httpd.conf should do the trick

>
> My question is if everything works ok as cgi why not when using
> mod_perl?
>

CGI.pm behaves a little bit different when running under mod_perl. It tries
to access Apache directly for performance reasons.

Gerald


--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

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