Author Topic: Mimetype to file extension mapping  (Read 28672 times)

Backi

  • Guest
Mimetype to file extension mapping
« on: November 28, 2013, 07:04:13 AM »
Hi everybody,
RC runs smoothly on my webspace, nevertheless I've got this error during installation:

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

Please set a valid path to your webserver's mime.types file to the mime_types config option.
If you can't find such a file, download it from svn.apache.org.

Does anyone know how to fix this? What should I do?

Offline alanljj

  • Newbie
  • *
  • Posts: 1
Re: Mimetype to file extension mapping
« Reply #1 on: April 22, 2014, 11:02:13 PM »
the same problem I found, why no people answer it?

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Re: Mimetype to file extension mapping
« Reply #2 on: April 22, 2014, 11:44:01 PM »
I copied the mime.types file into the root Roundcube folder, and declared it in the config file for version 1.0.0 like so:

Code: [Select]
$config['mime_types'] = '/opt/share/roundcubemail-1.0.0/mime.types';
That worked for me, the installer says mine is OK.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline evilbudz

  • Newbie
  • *
  • Posts: 1
Re: Mimetype to file extension mapping
« Reply #3 on: May 23, 2017, 07:54:26 PM »
yes this is correct how ever i use xampp and had to use the following to get it to work

// mime.types
$config['mime_types'] = '/xampp/htdocs/roundcube/mime.types';