I have a W2K Server box running Apache2.2.3, also installed the latest Perl, Mod_Perl (testenv.pl working ok) and Apache:ASP. The ASP install (cpan) went through fine, but ASP files open up as plain text in the browser.
There nothing ASP related in the httpd.conf. Find this from the web and added to httpd.conf:
PerlModule Apache::ASP <IfModule mod_perl.c> PerlModule Apache::ASP <Files ~ (\.asp)> SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global . PerlSetVar StateDir /tmp/asp </Files> </IfModule># Then I get the "500 Internet Server Error"... Here's what my error.log says:[Tue Sep 12 20:20:43 2006] [error] [client 85.157.96.122] Can't locate object method "get" via package "APR::Table" at C:/Perl/site/lib/Apache/ASP.pm line 2016.\n at C:/Perl/site/lib/Apache/ASP.pm line 2016\n\tApache::ASP::get_dir_config('APR::Table=HASH(0x199ed88)', 'Global') called at C:/Perl/site/lib/Apache/ASP.pm line 275\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x199ed64)', 'C:/wwwroot/www.karting.fi/hello.asp') called at C:/Perl/site/lib/Apache/ASP.pm line 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x199ed64)') called at -e line 0\n\teval {...} called at -e line 0\n
[Tue Sep 12 20:20:44 2006] [error] [client 85.157.96.122] Can't locate object method "get" via package "APR::Table" at...
Any ideas?
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.