After just upgrading to mod_perl2 with Apache2. My current @INC path
includes a "." on the end, which should reference the current working
directory, and therefore correctly locate include locate in the script's
working directory. The problem is that the Working Directory is set to
"/". My question is how can I set the working directory to be the
location of where the script is running..... (This would make mod_perl
correctly locate file that I have included in the running script ie:
require "./file.pl") Can this be done from within Apache?
I've tried variations of PerlSetEnv but I can't seem to get it to
work. I've even read the mod_perl2 user's guide. Thanks for your help..
-Joshua Bernstein
Systems Administrator
College of Engineering
University of Arizona
Tucson, Arizona, USA