roundcube安装错误 Mimetype到文件扩展名的映射:不正确

问题描述

我正在尝试使用IIS 10.0在Windows Server 2019上安装Roundcube 1.4.9

在步骤3中,一切正常,除了Mimetype到文件扩展名的映射。
Test filetype detection
Fileinfo/mime_content_type configuration:  OK
Mimetype to file extension mapping:  NOT OK

我试图像这样在conf.inc.PHP中设置mimetypes.PHP的路径:

$config['mime_types'] = 'c:/inetpub/wwwroot/roundcube/config/mimetypes.PHP';

并且仍然无法正常工作。

解决方法

问题是我不得不从http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types下载mime.type,而conf.inc.php应该是这样的:

cancer type 2