perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Prime <>
Subject Re: Setting the CWD
Date Thu, 15 Jan 2009 05:32:44 GMT
fREW Schmidt wrote:
> I am writing a CGI::App and I keep having to use full paths to get
> various places in my application.  How can I set the CWD for a certain
> Location section of my code?

If you're running your CGI::App code through Registry, and using
mod_perl 2, and running under the prefork MPM, then you can instead use
RegistryPrefork instead of registry, which is exactly the same except it
 does the chdir you're asking for.



View raw message