pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
apache2 + ap2-perl @INC problem
I'm not sure if this is an application, pkgsrc ...or my problem.
I've got apache2 and ap2-perl installed from pkgsrc
in my httpd.conf, I have
LoadModule perl_module lib/httpd/mod_perl.so
<IfModule mod_perl.c>
Alias /wcal/ /usr/local/www/vhost/alpha.dev.stage/webCal2.9.3/
PerlRequire "/usr/local/www/vhost/alpha.dev.stage/webCal2.9.3/startup.pl"
<Location /wcal>
AllowOverride All
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
# PerlRequire "/var/www/webcal/bin/startup.pl"
Options +ExecCGI
</Location>
</IfModule>
Alias /wcal.img/ "/usr/local/www/vhost/alpha.dev.stage/htdoc/wcal.img/"
<Directory "/usr/local/www/vhost/alpha.dev.stage/htdoc/wcal.img">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
However when I point my browser to alpha.dev.stage/wcal I get this
[Thu Apr 27 22:46:05 2006] [error] [client 192.168.15.200] failed to resolve
handler `Apache::Registry': Can't locate Apache/Registry.pm in @INC (@INC
contains: /usr/local/www/vhost/alpha.dev.stage/webCal2.9.3
/usr/pkg/lib/perl5/site_perl/5.8.0/i386-netbsd-thread-multi
/usr/pkg/lib/perl5/site_perl/5.8.0
/usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-netbsd-thread-multi
/usr/pkg/lib/perl5/vendor_perl/5.8.0
/usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi /usr/pkg/lib/perl5/5.8.0 .
/usr/pkg) at (eval 3) line 3.\n
So how is INC normally expanded to include
/usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-netbsd-thread-multi/ModPerl/
where Registry.pm is, I tried this symlink,
drwxr-xr-x 2 root wheel 512 Apr 17 13:51:46 2006 APR/
-r--r--r-- 1 root wheel 2067 Apr 17 13:51:33 2006 APR.pm
lrwxr-xr-x 1 root wheel 7 Apr 27 22:59:40 2006 Apache@ -> ModPerl
drwxr-xr-x 3 root wheel 1024 Apr 27 22:45:55 2006 Apache2/
drwxr-xr-x 2 root wheel 1024 Apr 17 13:51:47 2006 Apache~/
drwxr-xr-x 2 root wheel 512 Apr 17 13:51:46 2006 Bundle/
drwxr-xr-x 2 root wheel 1024 Apr 27 22:59:30 2006 ModPerl/
drwxr-xr-x 6 root wheel 512 Apr 17 13:51:47 2006 auto/
-r--r--r-- 1 root wheel 1623 Jun 17 16:49:02 2005 mod_perl2.pm
but now I get the error "failed to resolve handler Apache::Registry"
// George
--
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george%galis.org@localhost
Home |
Main Index |
Thread Index |
Old Index