• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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