iisroundcube

Issues with Mimetype to File Extension Mapping in Roundcube Installation on Windows Server 2019 with IIS


I'm trying to install Roundcube 1.4.9 on a Windows Server 2019 with IIS 10.0. During the installation, I'm encountering an issue with the Mimetype to file extension mapping step.

Test filetype detection
Fileinfo/mime_content_type configuration:  OK
Mimetype to file extension mapping:  NOT OK

I tried to set path of mimetypes.php in conf.inc.php like this:

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

But the Mimetype to file extension mapping test still shows as NOT OK.


Solution

  • the problem was that I had to download mime.type from http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types and conf.inc.php should be like this:

    $config['mime_types'] = 'c:/inetpub/wwwroot/roundcube/path/to/mime.types';