• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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