Hi,

> 
> [EMAIL PROTECTED] temp]$ embpexec.pl emtest.html
> /usr/bin/perl: error while loading shared libraries: 
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/AP
> R/Request/Apache2/Apache2.so: 
> undefined symbol: modperl_xs_sv2request_rec
> 

You cannot use Apache function (like APR::Pool) outside of Apache, how
should this work?

> My Code is
> <html>
> <title>vimal Here</title>
> <body>
> hello
> [-
> use Apache2::Request;
> use APR::Pool;
> my $r = APR::Pool->new;
> my $q = Apache2::Request->new($r);

Apache2::Request -> new needs a Apache2::RequestRec object, not a pool, so
inside Embperl do

my $q = Apache2::Request->new($req_rec);

$req_rec is set up by Embperl for you.

Gerald



---------------------------------------------------------------------------
Besuchen Sie uns auf der Systems 2005 in München, Halle B2, Stand 704
---------------------------------------------------------------------------
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:     [EMAIL PROTECTED]          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
---------------------------------------------------------------------------

  



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to