
現在、私はこの方法のおかげで、Ubuntu で 2 つの Apache インスタンスを実行しています:
両方のインスタンスは ldap を使用します。1 つは で構成されています/etc/ldap/ldap.conf
。2 つ目のインスタンスを別の 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
。