• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Internal server error - Apache ASP error - fix

C

campbellmc

Guest
Hi,

A customer of ours gets an 'Internal Server error' with Apache and ASP when running some particular code. Specificall, from Apache logs, the following error on a website running Plesk 8.2.1 (latest updates) :

Thu Dec 13 17:08:16 2007] [error] [client 25.12.28.4] Can't
locate object method "get" via package
"APR::Table" at /usr/lib/perl5/site_perl/5.8.5/Apache/ASP.pm line 2013.

I have read on various Perl forums that Apache2::compat is required by
Apache ASP to run with mod_perl 2. The suggested fix is to create a small perl script that is loaded by Apache at startup:

----8<----

#!/usr/bin/perl

use Apache2::compat;
1;

-----8<-----


Add this line to httpd.conf:

PerlRequire /etc/httpd/startup.pl

And restart apache. This fixes the issue. Is anyone else having this issue? Is it a bug or expected behaviour?


Regards,

Campbell
 
Back
Top