Skip to main content

ASP-Seiten funktionieren nicht

wenn auf einem frisch installierten Plesk-Webserver das ASP nicht funktioniert und nur folgenden Fehler ausgibt:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Web Server at xxx.de

beziehungsweise folgender Fehler im error_log:

[Mon Mar 05 16:45:04 2007] [error] [client 212.34.160.151] Can't locate object method "register_cleanup" via package "Apache2::RequestRec" at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 520.\n at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 520\n\tApache::ASP::RegisterCleanup('Apache::ASP=HASH(0x552b30f460)', 'CODE(0x552b30f500)') called at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 383\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x552ae23470)', '/var/www/vhosts/fms-tuning.de/httpdocs/test/bla/register_clea...') called at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 185\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x552ae23470)') called at -e line 0\n\teval {...} called at -e line 0\n

oder auch

[Mon Mar 05 16:29:10 2007] [error] [client 212.34.160.151] Can't locate object method "get" via package "APR::Table" at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 2016.\n at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 2016\n\tApache::ASP::get_dir_config('APR::Table=HASH(0x552ae23470)', 'Global') called at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 275\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x552ae23440)', '/var/www/vhosts/fms-tuning.de/httpdocs/test/apacheasp/index.asp') called at /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x552ae23440)') called at -e line 0\n\teval {...} called at -e line 0\n

dann fehlt eigentlich nur der folgende Eintrag in httpd.conf

PerlModule Apache2::compat

das Modul mod_perl und das Perl-Modul Apache::ASP muss installiert sein!