0

对于 PHP 项目,我需要通过 LDAP 授权。我已通过在 mods-enabled 中创建链接来启用该模块:

sudo ln -s /etc/apache2/mods-available/authnz_ldap.load /etc/apache2/mods-enabled/authnz_ldap.load

重新启动 DDEV 时出现此错误:

Failed to restart BuildCenter: web container failed: log=phpstatus FAILED, err=container /ddev-BuildCenter-web unhealthy: phpstatus FAILED

使用浏览器调用网站会显示此错误:

502: Unresponsive/broken ddev back-end site.

任何提示如何在 DDEV 中配置 LDAP?

4

1 回答 1

1

发现了问题。该项目使用apache 2.2.22运行,并使用 ddev apache 2.4.25。从文件中删除“AuthzLDAPAuthoritative”.htaccess后,它可以工作。

于 2018-12-05T16:13:27.787 回答