I posted this last week, but I did not get any replies, sorry
for posting this again, but I need to get this working by
tomorrow, otherwise my manager will not be very happy :-(.
Kees
------------------------------------------------------------
I am testing the use of Apache::PerlVINC but I think I must
do something wrong because I get an error on the PerlRequire
statement in the following bit of httpd.conf when starting
apache:
-------------------------------------
PerlModule Apache::PerlVINC
<VirtualHost _default_:8443>
DocumentRoot /opt/ward/DocumentRoot
SetEnv IDV_ENV DEV
Alias /idv/ "/opt/ward/IDV/DEV/Scripts"
<Location /idv>
Options +Indexes
PerlAuthzHandler Ward::Authorise
SetHandler perl-script
PerlHandler Apache::Registry
AuthType Basic
AuthName "IDV Development"
AuthAuthoritative on
require idvenv DEV
PerlINC /opt/ward/IDV/DEV/Modules
PerlVersionINC on
PerlFixupHandler Apache::PerlVINC
# This is line 341
PerlRequire Ward/IDV/IDVDatabase.pm
</Location>
</VirtualHost>
------------------------------------
The error I get is:
Syntax error on line 341 of /opt/ward/apache/conf/httpd.conf:
Can't locate Ward/IDV/IDVDatabase.pm in @INC (@INC contains:
/opt/perl5/lib/5.00503/PA-RISC1.1 /opt/perl5/lib/5.00503
/opt/perl5/lib/site_perl/PA-RISC1.1 /opt/perl5/lib/site_perl
. /opt/ward/apache/ /opt/ward/apache/lib/perl) at
/opt/perl5/lib/site_perl/PA-RISC1.1/Apache/PerlVINC.pm line
41.
---------------------------------------
The module I am trying to access is:
/opt/ward/IDV/DEV/Modules/Ward/IDV/IDVDatabase.pm
Have I misunderstood how Apache::PerlVINC works?
Kees