Hi, are you sure it works this way. You should add your /home/arne/scripts to @INC, I'm afraid that your usage of PerlRequire is not appropiate, because it does not modify the include path. There are multiple solutions to add your own path to @INC on Apache 1.3 one of them is the following:
in $HTTPD/conf/httpd.conf ------------------------8<------------------------ ... PerlRequire conf/startup.pl ... ------------------------8<------------------------ $HTTPD/conf/startup.pl looks like this: ------------------------8<------------------------ #!/usr/bin/perl use lib qw( /home/arne/scripts/ ); 1; ------------------------8<------------------------ For other solutions including V-Hosts see perl.apache.org. Tom Am Mi, 2003-09-17 um 19.04 schrieb Arne Claassen: > > What did you put in your config? (hint: don't specify "Processors.pm" - > > just "Processors"). > > Ok, sorry for being so elaborate, but i figure if i provide all the > pieces as output from the shell, I'll avoid typos and maybe someone can > point out where the namespace problems are: > > [EMAIL PROTECTED] eth]# head -1 /home/arne/scripts/Processors.pm > package Processors; > > [EMAIL PROTECTED] eth]# grep Processors /www/conf/httpd.conf > PerlRequire /home/arne/scripts/Processors.pm > AxAddDynamicProcessor Processors > > [EMAIL PROTECTED] eth]# tail -f /www/logs/error_log > > [Wed Sep 17 10:02:24 2003] [error] [client 172.20.2.242] [AxKit] [Error] > AxKit::load_module failed: Can't locate Processors.pm in @INC (@INC > contains: /home/arne/scripts /www/lib > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . > /usr/local/apache-1.3.28+mod_ssl+mod_perl+mod_gzip/ > /usr/local/apache-1.3.28+mod_ssl+mod_perl+mod_gzip/lib/perl) at (eval > 5894) line 1. > > I'm baffled. > > arne > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
