osixia/docker-phpLDAPadmin

error "AH01630: client denied by server configuration"

Opened this issue ยท 6 comments

I use the following docker-compose.yml to deploy, but cannot access with the title error in logs.

I knew that this type error is quite common, but Require all granted was already shown in files:

  • /etc/apache2/conf-available/serve-cgi-bin.conf
  • /etc/apache2/mods-available/alias.conf.
version: '2'
services:

  openldap:
    restart: always
    networks:
      - nginx-proxy
    image: osixia/openldap:1.2.4
    container_name: ldap-openldap
    environment:
      - VIRTUAL_HOST=ldap.111.com
      - LDAP_LOG_LEVEL=256
      - LDAP_ORGANISATION=111
      - LDAP_DOMAIN=111.com
      - LDAP_BASE_DN=
      - LDAP_ADMIN_PASSWORD=admin
    tty: true
    stdin_open: true
    ports:
      - 389:389
      - 636:636
    domainname: 111.com
    hostname: 111.com

  phpldapadmin:
    restart: always
    networks:
      - nginx-proxy
    image: osixia/phpldapadmin:0.8.0
    container_name: ldap-phpldapadmin
    environment:
      - VIRTUAL_HOST=admin.ldap.111.com
      - PHPLDAPADMIN_LDAP_HOSTS=ldap.111.com
      - PHPLDAPADMIN_HTTPS:=false
    links:
      - openldap

networks:
    nginx-proxy:
      external:
         name: nginx-proxy

have you found any solutions to this? it's happening to me too.

Same here!

I encounter the same problem behind a reverse proxy (Traefik), otherwise it works.

Is that colon a typo? PHPLDAPADMIN_HTTPS:=false

You can get this error when trying to access the application over HTTP when it's been configured for HTTPS (or vice versa).

With PHPLDAPADMIN_HTTPS=false, it worked for me after I switched from proxying to port 443 to 80 in my reverse-proxy, in case anybody else made the same mistake.

Same here