On Mon, 23 Apr 2001, Matt Sergeant wrote:
> On Mon, 23 Apr 2001, [EMAIL PROTECTED] wrote:
>
> >
> > Would Apache::Reload be helpful in the case where you have
> > multiple virtualhosts which each want their own @INC ?
> > I tried fixing this problem with a previous release, but gave up
> > when I realized the implication of all those use lib ()
> > directives in my modules.
> >
> > If you think so, maybe you should add something to this effect to the docs.
>
> I think Stas had something he was looking at for doing this. Stas?
was I? May be you confuse me with someone else?
I've submitted you a patch which solves the problem, where some module
gets required relative to '.', and then if the code does chdir()
elsewhere, reload was failing, because it was registering a relative to
'.' path. I've checked -- this patch is now in :)
Currently you can see in the guide various solutions for INC and virtual
hosts. But none is good for production. mod_perl 2.0 solves this problem,
come in and help us to debug/develop it so it'll get out faster.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/