Roundcube Community Forum
News and Announcements => General Discussion => Topic started by: trectenw on June 10, 2014, 04:33:01 PM
-
Hello,
I am trying to install Roundcube 1.0.1 for the first time. I've installed all prerequisites, set up the application to communicate with a postgreSQL DB... all is showing green and "OK" in the web installer.
All except for "Mimetype to file extension mapping." This shows "NOT OK." Here is what I've tried:
- Verified that /etc/mime.types exists on my system (CentOS 6) and is referenced in the Apache configuration.
- Tried to set $config['mime_types'] in config/defaults.inc.php to '/etc/mime.types' as that was null. Did nothing.
- Tried to add $config['mime_types'] to config/config.inc.php, setting it to the file in /etc... no luck
I just don't understand what the installer wants me to do here. To the best of my (limited) knowledge I have an /etc/mime.types file that Apache sees just fine.
Any help would be appreciated, it is the last "red mark" I need to resolve for a clean install.
Regards,
Tom
-
All,
I figured it out so am posting it here in case someone else runs into this. I ended up defining the variable in config.inc.php as follows:
$config['mime_types'] = '/srv/#####.com/webmail/config/mime.types';
Looks like:
- Overriding the null in defaults.inc.php doesn't seem to work.
- /etc/mime.types was likely not working because it was not in the document root
So, in the end I just downloaded the mime.types from the subversion site, and I have a green "OK." Unsure if this is a bug, or just sort of clunky, but for a new user to the software... it makes for a very confusing install.
Regards,
Tom
-
It's a problem with the permissions of the web server, its unable to access the file outside of the web server root.