ctucx.git: tinyDAV

[php] Cal-/ CardDAV server with a simple web-GUI based on SabreDAV

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
#####################################################################################################
# Apache configuration (REQUIRED to prevent access for .inc files /especially config files/)
# You NEED to add the following lines into your Apache vhost configuration (without the # character):
# <Directory /client/installation/directory/auth/>
#    AllowOverride Limit
#     <IfVersion >= 2.3>
#         Require all granted
#     </IfVersion>
#     <IfVersion < 2.3>
#         Order allow,deny
#         Allow from all
#     </IfVersion>
# </Directory>
#####################################################################################################

<Files ~ "\.inc$">
	<IfVersion >= 2.3>
		Require all granted
	</IfVersion>
	<IfVersion < 2.3>
		Order allow,deny
		Deny from all
	</IfVersion>
</Files>