Hi Maurice,

I had the same problem. It seems that Apache2::compat is required by
Apache ASP to run with mod_perl 2. The the solution was to load
Apache2::compat in startup.pl.

The file startup.pl must be included in Apache's configuration file.

startup.pl:

#!/usr/bin/perl

use Apache2::compat;
1;

httpd.conf:

PerlRequire /usr/local/apache/conf/startup.pl

Regards,
Douglas Pasqua
Brazil

--- In [EMAIL PROTECTED], Maurice Yarrow <[EMAIL PROTECTED]> wrote:
>
> Hello ASP people
>
> Environment:
>     FC1
>     apache httpd 2.0.58
>     perl5.8.8
>     BLDBM,  BLDBM::Sync, Apache::ASP (2.59)  - I just installed these.
>     mod_perl.so (2.0.2) installed, httpd.conf configured with
appropriate
>     LoadModule directive
>
> After making and installing the above perl modules, copied the
> Apache-ASP-2.59/site/asp directory tree to htdocs (including,
> of course, htdocs/asp/eg/.htaccess), added the appropriate
>     <Directory "/usr/local/apache2/htdocs/asp/eg" >
>       Options FollowSymLinks
>       AllowOverride All
>     </Directory>
> directive.
> Can go to http://localhost/asp  (index.html), but get the below error
> message when going to http://localhost/asp/eg  (i.e., the examples
> dir from above):
>
> [Tue Jun 06 00:05:32 2006] [error] [client 192.168.1.122] Can't locate
> object method "get" via package "APR::Table" at
> /usr/local/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 2016.\n at
> /usr/local/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line
> 2016\n\tApache::ASP::get_dir_config('APR::Table=HASH(0x85005c4)',
> 'Global') called at /usr/local/lib/perl5/site_perl/5.8.8/Apache/ASP.pm
> line 275\n\tApache::ASP::new('Apache::ASP',
> 'Apache2::RequestRec=SCALAR(0x85005a0)',
> '/usr/local/apache2/htdocs/asp/eg/index.html') called at
> /usr/local/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line
> 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x85005a0)')
> called at -e line 0\n\teval {...} called at -e line 0\n
> [EMAIL PROTECTED] Apache-ASP-2.59]#
>
> I observe that this is an error that has been reported previously in
> the ASP user group archives (currently maintained at yahoo), but
> I saw no indication of a resolution.  (I am not a yahoo special
> interest group member, so did not pursue it further at that location.)
>
> Any ideas ?
>
> Regards,
> Maurice Yarrow
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>






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

Reply via email to