[ic] Location specific injected global code - or DEV setting?

Paul Jordan jordan at gishnetwork.com
Wed Jul 5 14:39:01 EDT 2006

interchange-users-bounces at icdevgroup.org wrote:
> "Paul Jordan" <paul at gishnetwork.com> wrote:
>> I was wondering how feasible it would be to have VENDROOT code be
>> included in specific locations in all sub catalogs. First, for
>> example, I'd be interested in including *any* catalog.cfg style
>> directives/text in interchange.cfg. Possibly like:
>> CatalogCfgPrepend * <<EOS
>> # DEV account login
>> UserDB    projects_access  user_field   username
>> UserDB    projects_access  database     projects_access
>> UserDB    projects_access  time_field   none
>> UserDB    projects_access  crypt        0
>> EOS
>> Notice the * as in a possible:
>> CatalogCfgPrepend catalogfoo catalogbar <<EOS EOS
> Have you considered the ConfigAllBefore global directive,
> which defaults to catalog_before.cfg?

That's perfect Kevin, Thanks. I had always noticed them
(vendroot/catalog_*.cfg) but assumed they were obsolete, similar to the old
catroot/etc/before.cfg. I figured one day they'd just disappear from the
distro. But, it is prefect, I was able to define a login profile, login
table, and __VAR__ to include in all my templates to control things, all

I am thinking this DEV setup can do double duty on a live system for
allowing developers to login during planned downtime.


 Paul Jordan

More information about the interchange-users mailing list