in reply to Re: Storing data with mod_perl (are those handlers different) ?
in thread Storing data with mod_perl (are those handlers different) ?
That's also your chance to do any setting up that you need to do as root, e.g. creating new directories and "chown"ing them.
So you could have a read_config.pl in /etc/apache (or wherever) that simply reads the config data and drops it into your handler's package. Then just PerlRequire read_config.pl and there you go!
The disadvantage with doing this, of course, is that the configuration file is not reread simply by doing apachectl graceful. Which may not be what you want.
|
|---|