38
|
1 # Those aliases do not work properly with several hosts on your apache server
|
|
2 # Uncomment them to use it or adapt them to your configuration
|
|
3 Alias /roundcube /var/lib/roundcube
|
|
4
|
|
5 <Directory /var/lib/roundcube/>
|
|
6 Options +FollowSymLinks
|
|
7 DirectoryIndex index.php
|
|
8 # This is needed to parse /var/lib/roundcube/.htaccess. See its
|
|
9 # content before setting AllowOverride to None.
|
|
10 AllowOverride All
|
|
11 <IfVersion >= 2.3>
|
|
12 Require all granted
|
|
13 </IfVersion>
|
|
14 <IfVersion < 2.3>
|
|
15 Order allow,deny
|
|
16 Allow from all
|
|
17 </IfVersion>
|
|
18 </Directory>
|
|
19
|
|
20 # Protecting basic directories:
|
|
21 <Directory /var/lib/roundcube/config>
|
|
22 Options -FollowSymLinks
|
|
23 AllowOverride None
|
|
24 </Directory>
|
|
25
|
|
26 <Directory /var/lib/roundcube/temp>
|
|
27 Options -FollowSymLinks
|
|
28 AllowOverride None
|
|
29 <IfVersion >= 2.3>
|
|
30 Require all denied
|
|
31 </IfVersion>
|
|
32 <IfVersion < 2.3>
|
|
33 Order allow,deny
|
|
34 Deny from all
|
|
35 </IfVersion>
|
|
36 </Directory>
|
|
37
|
|
38 <Directory /var/lib/roundcube/logs>
|
|
39 Options -FollowSymLinks
|
|
40 AllowOverride None
|
|
41 <IfVersion >= 2.3>
|
|
42 Require all denied
|
|
43 </IfVersion>
|
|
44 <IfVersion < 2.3>
|
|
45 Order allow,deny
|
|
46 Deny from all
|
|
47 </IfVersion>
|
|
48 </Directory>
|
|
49
|