讓一隻大貓咪在打字機上隨機地按鍵,當按鍵時間達到無窮時,幾乎必然能夠打出任何給定的文字,比如你看到的這個網誌。

修復 Roundcube Webmail 容器更新後無法從子目錄訪問的問題

Roundcube Webmail 的 Docker 映像在更新到 1.6.9 版本後,先前配置的子目錄會無法訪問或者被拒絕訪問。修復方式也很簡單。在容器Container內:

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';

添加新评论