Hi,

Is Apache allowed to change into this directory/read the file, try to move it to e.g. /tmp and see if it works. You could also insert a print-Statement and you should see the output on the console when apache is started (stop/start not restart). I'm not sure but I think a restart will not reload PerlRequire things. Maybe someone could correct me if I'm wrong.
You could also test it using "apachectl configtest" and you should see the output.


Tom

David Arnold wrote:
All,

I have this in conf/httpd.conf:

# Startup File:
PerlRequire /home/darnold/modperl/startup.pl

And:

[EMAIL PROTECTED] apache]# cat /home/darnold/modperl/startup.pl
# File: startup.pl

use lib qw(/home/darnold/modperl/);
1;

However, I am getting this in my error log:

Can't locate OnlineTestingDB.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.2/i686-linux /usr/local/lib/perl5/5.6.2
/usr/local/lib/perl5/site_perl/5.6.2/i686-linux
/usr/local/lib/perl5/site_perl/5.6.2 /usr/local/lib/perl5/site_perl .)


Shouldn't @INC contain /home/darnold/modperl?



Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird

--
b e s t s o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl        leiter softwareentwicklung   mobile  ++43 664 3145958
------------------------------------------------------------------------
eduard-bodem-gasse 8/3    A-6020 innsbruck      fax      ++43 512 935833
http://www.bestsolution.at                      phone    ++43 512 935834

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to