Alias /matomo "/srv/www/matomo" AllowOverride All Options FollowSymLinks # Apache 2.4 Require all granted # Apache 2.2 Order allow,deny Allow from all # Apache 2.4 Require host 127.0.0.1 # Require ip 128.252.135. # Require host mydomain.com # Require host host.mydomain.com Require all granted Require all granted # Apache 2.2 Order deny, allow Deny from all Allow from 127.0.0.1 # Allow from 128.252.135. # Allow from .mydomain.com # Allow from host.mydomain.com Allow from all Satisfy any Order Allow,Deny Allow from all