Roundcube Webmail 的 Docker 映像在更新到 1.6.9 版本後,先前配置的子目錄會無法訪問或者被拒絕訪問。修復方式也很簡單。在容器內:
cd /var/www/html/public_html/
ln -s /var/www/html/ roundcube/
Roundcube Webmail 1.7 後需要使用 public_html/ 作爲入口點。推測是在後續構建的舊版本容器映像中也做了類似的設定。
另,更新到 1.7 版本後,會提醒
The installer is still accessible
參考相關經驗2,需要在 /var/roundcube/config/config.inc.php 中設定:
$config['enable_installer'] = 'false';