#Blocco Accesso diretto Allegati Albo Pretorio

<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{HTTP_REFERER} !^http://www.demo.consorziozirpreddaniedda.it.* [NC]
	RewriteCond %{HTTP_REFERER} !^http://demo.consorziozirpreddaniedda.it.* [NC]
	RewriteRule \. http://demo.consorziozirpreddaniedda.it/index.php [R,L]
</IfModule>