В настоящее время я запускаю два экземпляра Apache в своей Ubuntu благодаря этому методу:
несколько-экземпляров-apache2-на-ubuntu
Оба экземпляра используют ldap, один настроен с /etc/ldap/ldap.conf
. Я хотел бы настроить второй с другим путем к файлу ldap.conf.
Знаете ли вы, как это сделать?
решение1
Согласно man ldap.conf
-странице:
Additional configuration files can be specified using the LDAPCONF and
LDAPRC environment variables. LDAPCONF may be set to the path of a
configuration file. This path can be absolute or relative to the cur‐
rent working directory. The LDAPRC, if defined, should be the basename
of a file in the current working directory or in the user's home direc‐
tory.
поэтому вам следует определить разные значения LDACONF
в apache2 envvars
.