我正在尝试在带有 IIS 10.0 的 Windows Server 2019 上安装 Roundcube 1.4.9。在安装过程中,我遇到了
Mimetype to file extension mapping
步骤的问题。
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';
但是
Mimetype to file extension mapping
测试仍然显示不正常。
问题是我必须从 http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types 下载 mime.type 并且 conf.inc.php 应该是像这样:
$config['mime_types'] = 'c:/inetpub/wwwroot/roundcube/path/to/mime.types';