This page:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends
says that mod_perl 2's ModPerl::Registry does not chdir() into the script's directory, wheras mod_perl 1's Apache::Registry DOES chdir(). It also says that this will eventually be fixed by the time mod_perl 2 is released, and in the meantime you can use the Apache::Registry (which is part of mod_perl 1) in mod_perl 2.
As I will be trying to get some old scripts working in mod_perl 2, it seems prudent to use Apache::Registry.
You have omitted this sentence:
However you will have problems if you are using anything but the preforked MPM, the main reason why ModPerl::Registry doesn't chdir().
So how can I go about installing just Apache::Registry from the mod_perl 1 tar file without having to install ALL of mod_perl 1 ?
simply copy it into one of the dirs in your @INC.
You will also need to load Apache::compat for it to work.
Alternatively you can subclass ModPerl::Registry's chdir_file function to perform chdir, like Apache::Registry does.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com