우분투에서 여러 Apache 인스턴스가 실행 중인 경우 ldap.conf에 다른 파일 경로를 지정하십시오.

우분투에서 여러 Apache 인스턴스가 실행 중인 경우 ldap.conf에 다른 파일 경로를 지정하십시오.

현재 이 방법 덕분에 우분투에서 두 개의 아파치 인스턴스를 실행하고 있습니다.

우분투의 다중 Apache2 인스턴스

두 인스턴스 모두 LDAP를 사용하고 하나는 /etc/ldap/ldap.conf. 다른 ldap.conf 파일 경로로 두 번째 파일을 구성하고 싶습니다.

어떻게 해야 하는지 아시나요?

답변1

맨페이지에 따르면 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.

관련 정보