Hallo, I'm installing RC 1.0 with NGINX and MySQL on a CentOS 6.5. All seems OK, but I cannot solve thi issue:
Test filetype detection
Fileinfo/mime_content_type configuration: OK
Mimetype to file extension mapping: NOT OK
I tried the standard path:
$config['mime_types'] = '/etc/nginx/mime.types';
and then I copied mime.types in the directory of roundcube:
$config['mime_types'] = '/usr/share/nginx/html/roundcubemail/mime.types';
But the test return always "not ok".
I found this thread:
http://www.roundcubeforum.net/index.php/topic,16841.msg52077.html#msg52077
but as you see the solution for me does not work.
Permissions are:
-rw-r--r-- 1 root root 3463 26 feb 14:18 mime.types
Any suggestions?
Thanks, Pietro.
Hi,
Jus tot let you know i am having since awhile the same issue tried many different settings bunt nothing worked it remained NOT OK,
Am sure am missing something so would be nice to see the solution.
ty
Until now I have no solution. I hope somebody can help with this issue.
Thanks, Pietro.
In Apache what you have done works perfectly. I have the exact same, but to (obviously) a different path. I'm not sure how NGINX reads the path within PHP, perhaps a relative path rather than absolute might work.
OK, solved, in /etc/nginx thereis a file mime.types, but the format is not recognized by roundcube, so I could not use it. I downloaded the mime.types file from:
http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
As installer said and copied it in rouncube directory, then in:
config/defaults.inc.php
I change the default:
$config['mime_types'] = null;
to:
$config['mime_types'] = '/usr/share/nginx/html/roundcubemail/mime.types';
I restarted nginx and php-fpm (but I'm not sure if it is mandatory) and all worked!
Thanks, Pietro.