• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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