httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ondřej Surý <ond...@sury.org>
Subject Generic way how to inject configuration from one module to another
Date Thu, 25 Nov 2010 09:33:01 GMT
Hi,

since people keep asking for that I'll ask here.

Is there a generic way how to modify configuration of some other
module from within f.e. mod-vhost-* modules? Somethink like per_dir
configuration?

I know it can be done, but you'll have to know the data structures and
link with header files of that module.

Use case:

1. Apache server using mod_vhost_ldap
2. Apache server using mod_php5
3. You want to be able to turn php_engine On/Off from the LDAP

mod_vhost_ldap would read the configuration from LDAP and inject
php_engine flag somewhere to vhost configuration in a generic way so
when mod_php5 is run it has the correct value of php_engine (the one
from LDAP).

Ondrej
-- 
Ondřej Surý <ondrej@sury.org>

Mime
View raw message