annotate etc/apache.conf @ 38:ac106d4c8961 default tip

flip /etc/roundcube to point here
author Charlie Root
date Sat, 29 Dec 2018 05:39:53 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
1 # Those aliases do not work properly with several hosts on your apache server
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
2 # Uncomment them to use it or adapt them to your configuration
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
3 Alias /roundcube /var/lib/roundcube
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
4
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
5 <Directory /var/lib/roundcube/>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
6 Options +FollowSymLinks
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
7 DirectoryIndex index.php
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
8 # This is needed to parse /var/lib/roundcube/.htaccess. See its
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
9 # content before setting AllowOverride to None.
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
10 AllowOverride All
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
11 <IfVersion >= 2.3>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
12 Require all granted
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
13 </IfVersion>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
14 <IfVersion < 2.3>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
15 Order allow,deny
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
16 Allow from all
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
17 </IfVersion>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
18 </Directory>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
19
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
20 # Protecting basic directories:
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
21 <Directory /var/lib/roundcube/config>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
22 Options -FollowSymLinks
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
23 AllowOverride None
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
24 </Directory>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
25
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
26 <Directory /var/lib/roundcube/temp>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
27 Options -FollowSymLinks
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
28 AllowOverride None
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
29 <IfVersion >= 2.3>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
30 Require all denied
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
31 </IfVersion>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
32 <IfVersion < 2.3>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
33 Order allow,deny
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
34 Deny from all
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
35 </IfVersion>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
36 </Directory>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
37
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
38 <Directory /var/lib/roundcube/logs>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
39 Options -FollowSymLinks
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
40 AllowOverride None
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
41 <IfVersion >= 2.3>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
42 Require all denied
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
43 </IfVersion>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
44 <IfVersion < 2.3>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
45 Order allow,deny
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
46 Deny from all
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
47 </IfVersion>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
48 </Directory>
ac106d4c8961 flip /etc/roundcube to point here
Charlie Root
parents:
diff changeset
49