Ticket #2052 (closed defect: fixed)
.htaccess Roundcube configuration ignored
| Reported by: | marcello.teodori@… | Owned by: | jsalamero@… |
|---|---|---|---|
| Milestone: | 2.0.X | Component: | webmail |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Currently roundcube is published in Apache using a symlink instead of an Alias directive: /var/www/roundcube -> /var/lib/roundcube
This has the side effect that the .htaccess inside /var/lib/roundcube is not evaluated because of a wider AllowOverride None settings and it's not desirable as this means that the custom php settings form max_upload_size are not set to the ones of roundcube and most of all the various config, temp and logs are not protected as they don't match the path /var/lib/roundcube as set in /etc/roundcube/apache.conf
The solution is to remove the webmail symlink and add an Apache directive:
Alias /webmail /var/lib/roundcube
Thanks for reporting and proposing a solution, we'll take a look on that.