You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Joshua Chamas <jo...@chamas.com> on 2001/07/10 21:13:36 UTC

Re: Apache::StatINC and PerlSetVar Global

Philip Mak wrote:
> 
> Apache::StatINC doesn't seem to recognize the directory in "PerlSetVar
> Global" as a place to load modules from. It does recognize "PerlSetVar
> IncludesDir", however. Is this a bug?
> 

I don't think its a bug, and I'm surprised that IncludesDir would be
picked up by Apache::StatINC.  Any communication between Apache::ASP
and Apache::StatINC in this regards would be unintended.  To explicitly
tell Apache::StatINC about your Global directory, you might do an explicit:

 <Perl>
   use lib($GlobalDir);
 </Perl>

in your httpd.conf ... I haven't used Apache::StatINC for a while,
but this might do the trick.

Because of Apache::StatINC's limitations, a long while back I built
in native StatINC functionality into Apache::ASP with the StatINC
and StatINCMatch configs.  You might use them if Apache::StatINC
keeps giving you trouble.

Also, I have found that Apache::Reload does a pretty good job
too for this functionality.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks <- Web Link Checking          Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org