perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fagyal, Csongor" <>
Subject Re: ASP on Virtual Server
Date Wed, 21 Jan 2004 20:38:17 GMT

>I created a .htaccess file in my asp directory with the following lines in it:
><Files ~ (\.asp)>
>  SetHandler  perl-script
>  PerlHandler Apache::ASP
>  PerlSetVar  Global /home/webadmin/
>  PerlSetVar  StateDir /tmp/asp
>  PerlSetVar UseStrict 0
>  PerlSetVar Debug 3
>All my ASP stuff is commented out in the httpd.conf file.
>Now when I run my hello world asp I get the following in the error_log:
>[Wed Jan 21 12:18:27 2004] [error] Can't locate Apache/ in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/ /etc/httpd/lib/perl)
at (eval 2) line 3.
>[Wed Jan 21 12:18:27 2004] [error] Undefined subroutine &Apache::ASP::handler called.
>I added this line above the <Files> tag in the .htaccess file 
>PerlModule  Apache::ASP
>Now I get the following error in the error_log.
>[Wed Jan 21 12:25:47 2004] [alert] [client] /home/webadmin/
Can't locate Apache/ in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
. /etc/httpd/ /etc/httpd/lib/perl) at (eval 5) line 3.
>It's not even trying to use my newly installed perl 5.8
I think you have to reinstall mod_perl using Perl 5.8. Or you might try 
to set your @INC so that the "old" perl sees Apache::ASP (but I don't 
think that's a good idea...)

- Csongor

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message