
Derzeit betreibe ich dank dieser Methode zwei Apache-Instanzen in meinem Ubuntu:
Mehrere Apache2-Instanzen auf Ubuntu
Beide Instanzen verwenden LDAP, eine ist mit konfiguriert /etc/ldap/ldap.conf
. Die zweite möchte ich mit einem anderen ldap.conf-Dateipfad konfigurieren.
Wissen Sie, wie das geht?
Antwort1
Laut ldap.conf
Manpage:
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.
Sie sollten es also LDACONF
in Apache2 anders definieren envvars
.