Mimetype to file extension mapping

来源:互联网 发布:淘宝上怎么买枪 编辑:程序博客网 时间:2024/06/08 01:52

Mimetype to file extension mapping

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?

« Reply #1 on: April 22, 2014, 11:02:13 PM »
the same problem I found, why no people answer it?

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
0 0
原创粉丝点击