logo       

Re: mod_perl and current directory (was Re: Newbie Q on Apache::Include): msg#00553

apache.mod-perl

Subject: Re: mod_perl and current directory (was Re: Newbie Q on Apache::Include)

[...]

> Is it true what was said in one of the other
threads -with mod_perl (Apache 1.3.27) the current working directory is different from the dir where the script lies?

[...]

As I've followed up (because I knew that that particular post will create confusion), it *is* the script's dir for mod_perl 1.x. (Apache::Registry and friends)

It's *currently* not the case with mod_perl 2.0 (ModPerl::Registry and friends), but this should change to be the same as 1.x by the time 2.0 is released.

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise