使用 IIS 在 Windows Server 2019 上安装 Roundcube 时存在 Mimetype 到文件扩展名映射的问题 [已关闭]

问题描述 投票:0回答:1

我正在尝试在带有 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
测试仍然显示不正常。

php windows iis windows-server-2019 roundcube
1个回答
4
投票

问题是我必须从 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';
© www.soinside.com 2019 - 2024. All rights reserved.