目前我在我的ubuntu中运行了两个apache实例,这要归功于这个方法:
多Apache2的-实例上,Ubuntu的
两个实例都使用ldap,一个configuration了/etc/ldap/ldap.conf 。 我想用另一个ldap.conf文件pathconfiguration第二个。
你知道吗,怎么做?
根据man 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.
所以你应该在apache2 envvars定义不同的LDACONF 。