On Mon, 24 Jul 2000, martin langhoff wrote:
> Now, the idea is to have one codebase, written in a module that serves
> all of our sites. Each site should have its own (rather complex)
> config. Each and every subroutine must know in which context it's
> being called, and I don't really want to pass the config as a
> parameter to every damned sub.

You can have a module full of globals that is different for each site (it
doesn't have to go in the same directory as your other shared code), or
you can put things in httpd.conf with PerlSetVar and read them with
$r->dir_config(), which allows a separate configuration for each virtual
host.

- Perrin

Reply via email to