![Especifique otra ruta de archivo para ldap.conf cuando tenga varias instancias de Apache ejecutándose en Ubuntu](https://rvso.com/image/697039/Especifique%20otra%20ruta%20de%20archivo%20para%20ldap.conf%20cuando%20tenga%20varias%20instancias%20de%20Apache%20ejecut%C3%A1ndose%20en%20Ubuntu.png)
Actualmente ejecuto dos instancias de apache en mi ubuntu gracias a este método:
múltiples-instancias-apache2-en-ubuntu
Ambas instancias usan ldap, una está configurada con /etc/ldap/ldap.conf
. Me gustaría configurar el segundo con otra ruta de archivo ldap.conf.
Sabes como hacer esto ?
Respuesta1
Según la ldap.conf
página de manual:
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.
entonces deberías definir diferente LDACONF
en apache2 envvars
.