roundcube-apache.conf
1 |
%if %%activer_roundcube == 'oui' |
---|---|
2 |
# Those aliases do not work properly with several hosts on your apache server |
3 |
# Uncomment them to use it or adapt them to your configuration |
4 |
Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/ |
5 |
Alias /roundcube /var/lib/roundcube |
6 |
|
7 |
# Access to tinymce files |
8 |
<Directory "/usr/share/tinymce/www/"> |
9 |
Options Indexes MultiViews FollowSymLinks |
10 |
AllowOverride None |
11 |
Order allow,deny |
12 |
allow from all |
13 |
</Directory> |
14 |
|
15 |
<Directory /var/lib/roundcube/> |
16 |
Options +FollowSymLinks |
17 |
# This is needed to parse /var/lib/roundcube/.htaccess. See its |
18 |
# content before setting AllowOverride to None. |
19 |
AllowOverride All |
20 |
order allow,deny |
21 |
allow from all |
22 |
</Directory> |
23 |
|
24 |
# Protecting basic directories: |
25 |
<Directory /var/lib/roundcube/config> |
26 |
Options -FollowSymLinks |
27 |
AllowOverride None |
28 |
</Directory> |
29 |
|
30 |
<Directory /var/lib/roundcube/temp> |
31 |
Options -FollowSymLinks |
32 |
AllowOverride None |
33 |
Order allow,deny |
34 |
Deny from all |
35 |
</Directory> |
36 |
|
37 |
<Directory /var/lib/roundcube/logs> |
38 |
Options -FollowSymLinks |
39 |
AllowOverride None |
40 |
Order allow,deny |
41 |
Deny from all |
42 |
</Directory> |
43 |
%end if |