in reply to unable to load Apache2::RequestRec
i think Apache is unable to load your Optrack module, because it does not find it in @INC. try adding your path to the module in httpd.conf, something like this:
PerlSwitches -I"C:\path\to\your\module\"
then delete the line:
PerlRequire Optrack
and use your module from Apache like this:
PerlModule Optrack
you can read about passing arguments to Perl from Apache in the mod_perl 2: Server Configuration Guide: Perl Switches.
hope this helps
:)))))
<update time="Thu Oct 5 23:48:41 EEST 2006">
specified the use of PerlModule instead of PerlRequire
</update>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unable to load Apache2::RequestRec
by opensourcer (Monk) on Oct 06, 2006 at 06:23 UTC |