Alias /auf-refer/ /var/lib/auf-refer/ Order deny,allow Deny from All Allow from 127.0.0.0/255.0.0.0 #Allow from 10.0.0.0/255.0.0.0 Options Indexes # required module, to enable with "sudo a2enmod mime" AddType application/json .json AddCharset UTF-8 .json # recommended module, to enable with "sudo a2enmod deflate" SetOutputFilter DEFLATE