-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathapache.conf
44 lines (39 loc) · 917 Bytes
/
apache.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# if you are running apache, the file should already be linked
# in /etc/apache2/conf.d or /etc/apache2/conf-available
# Uncomment the "Alias" to add matomo as a global alias
# or if you are running virtual hosts, then add the alias
# to the desired site(s).
# Alias /piwik /usr/share/matomo
# Alias /matomo /usr/share/matomo
<Directory /usr/share/matomo>
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>
<Files "console">
Options None
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Files>
<Directory /usr/share/matomo/misc>
Options None
<IfVersion < 2.4>
Order allow,deny
Deny from all
</IfVersion>
<IfVersion >= 2.4>
Require all denied
</IfVersion>
</Directory>