【问题标题】:roundcube installation error. Mimetype to file extension mapping: NOT OK圆形立方体安装错误。 Mimetype 到文件扩展名的映射:不行
【发布时间】:2021-01-25 14:27:00
【问题描述】:

我正在尝试使用 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';

还是不行。

【问题讨论】:

    标签: windows iis windows-server-2019 roundcube


    【解决方案1】:

    问题是我必须从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';
    

    【讨论】:

    • 您的问题解决了吗?如果是解决方案,请标记它。如果你的问题还没有解决,我找到了另一种方法。将 mime.types 文件复制到 Roundcube 根文件夹中,并在配置文件中声明。
    • 是的,它解决了。你是对的。我可以将 mime.types 放在 www 目录中的任何位置。 (我必须等待 15 小时才能将其标记为已解决)谢谢
    猜你喜欢
    • 1970-01-01
    • 2010-12-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-16
    • 1970-01-01
    • 2014-10-18
    • 1970-01-01
    相关资源
    最近更新 更多