Manuel Blechschmidt wrote:
Hello List,I just wrote a little script which should check URLs from the databse if they are correct. That works fine. But I wasn't able to tell the script to run with other environment variables.The Perl that I use is a custom build of a software system that we use. Here are the sources of the script:
[snip]
And here is the error from the apache Log:Can't locate DBI.pm in @INC (@INC contains: /home/root-epages-install/Perl/lib/linux /home/root-epages-install/Perl/lib /home/root-epages-install/Perl/lib/site_perl/linux /home/root-epages-install/Perl/lib/site_perl /home/root-epages-install/Perl/lib/site_perl .) at /usr/local/epages5/eproot/Scripts/rewrite.pl line 6.
i'm surprised if that perl script works, since the error indicates that you miss the DBI.pm package ?
can you actuallty run the script from the command line and it works ? ./a --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx