Modify

Ticket #2052 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

.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

Attachments

Change History

comment:1 Changed 3 years ago by jsoriano@…

Thanks for reporting and proposing a solution, we'll take a look on that.

comment:2 Changed 3 years ago by jacalvo@…

  • Owner changed from javier.amor.garcia@… to jsalamero@…
  • Milestone set to 2.0.X

comment:3 Changed 2 years ago by jacalvo@…

  • Owner changed from jsalamero@… to jsalamero@…

comment:4 Changed 2 years ago by cperez@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [20220]) NN: Changed to alias setup instead of symlink in webmail (closes #2052)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.