# BLOCCO IP A PARTIRE DAL 26.09.2025

# BLOCCA ACCESSO IP
Order allow,deny
Deny from 91.134.53.153 #2025.09.27-01.58.53 E=16
Deny from 112.10.235.23 #2025.09.27-18.13.49 E=16
Deny from 54.90.151.50 #2025.10.02-04.29.16 E=20
Deny from 212.139.179.226 #2025.10.02-04.50.34 E=17
Allow from all

# ERRORI PAGINE
ErrorDocument 403 http://www.generalmatic.com/
ErrorDocument 404 http://www.generalmatic.com/

# CREDO SIA DI REGISTER

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.generalmatic.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.generalmatic.com$ [NC]
RewriteCond %{HTTP:X-Forwarded-Proto} !^https$
RewriteRule ^(.*) https://www.generalmatic.com/$1 [R=301,L]