1 |
brianr |
1.1 |
# |
2 |
|
|
# Round Cube Webmail is a browser-based multilingual IMAP client |
3 |
|
|
# |
4 |
|
|
|
5 |
|
|
Alias /roundcubemail /usr/share/roundcubemail |
6 |
|
|
|
7 |
|
|
# Define who can access the Webmail |
8 |
|
|
# You can enlarge permissions once configured |
9 |
|
|
|
10 |
|
|
<Directory /usr/share/roundcubemail/> |
11 |
|
|
<IfModule mod_authz_core.c> |
12 |
|
|
# Apache 2.4 |
13 |
|
|
Require local |
14 |
|
|
</IfModule> |
15 |
|
|
<IfModule !mod_authz_core.c> |
16 |
|
|
# Apache 2.2 |
17 |
|
|
Order Deny,Allow |
18 |
|
|
Deny from all |
19 |
|
|
Allow from 127.0.0.1 |
20 |
|
|
Allow from ::1 |
21 |
|
|
</IfModule> |
22 |
|
|
</Directory> |
23 |
|
|
|
24 |
|
|
# Define who can access the installer |
25 |
|
|
# keep this secured once configured |
26 |
|
|
|
27 |
|
|
<Directory /usr/share/roundcubemail/installer/> |
28 |
|
|
<IfModule mod_authz_core.c> |
29 |
|
|
# Apache 2.4 |
30 |
|
|
Require local |
31 |
|
|
</IfModule> |
32 |
|
|
<IfModule !mod_authz_core.c> |
33 |
|
|
# Apache 2.2 |
34 |
|
|
Order Deny,Allow |
35 |
|
|
Deny from all |
36 |
|
|
Allow from 127.0.0.1 |
37 |
|
|
Allow from ::1 |
38 |
|
|
</IfModule> |
39 |
|
|
</Directory> |
40 |
|
|
|
41 |
|
|
# Those directories should not be viewed by Web clients. |
42 |
|
|
<Directory /usr/share/roundcubemail/bin/> |
43 |
|
|
Order Allow,Deny |
44 |
|
|
Deny from all |
45 |
|
|
</Directory> |
46 |
|
|
<Directory /usr/share/roundcubemail/plugins/enigma/home/> |
47 |
|
|
Order Allow,Deny |
48 |
|
|
Deny from all |
49 |
|
|
</Directory> |